lib/eye_of_newt/units.rb in eye-of-newt-0.0.11 vs lib/eye_of_newt/units.rb in eye-of-newt-0.0.12
- old
+ new
@@ -54,10 +54,10 @@
def unquantified?(unit)
@unquantified.include?(self[unit])
end
def setup(&block)
- instance_eval &block
+ instance_eval(&block)
self
end
def self.defaults
new.setup do