lib/surrogate/endower.rb in surrogate-0.4.2 vs lib/surrogate/endower.rb in surrogate-0.4.3

- old
+ new

@@ -74,10 +74,10 @@ klass.instance_variable_set :@hatchery, Surrogate::Hatchery.new(klass) end def enable_defining_methods(klass) def klass.define(method_name, options={}, &block) - @hatchery.define method_name, options, block + @hatchery.define method_name, options, &block end def klass.api_method_names @hatchery.api_method_names end