lib/ruby_ext/string.rb in ruby-ext-0.2.0 vs lib/ruby_ext/string.rb in ruby-ext-0.2.1

- old
+ new

@@ -9,13 +9,13 @@ def to_iv "@#{self}" end - def substitute binding - binding.should! :be_a, Binding - return gsub(/\#\{.+?\}/) do |term| - identifier = term.slice(2 .. term.size-2) - binding.eval identifier - end - end + # def interpolate binding + # binding.should! :be_a, Binding + # return gsub(/\#\{.+?\}/) do |term| + # identifier = term.slice(2 .. term.size-2) + # binding.eval identifier + # end + # end end \ No newline at end of file