lib/strong_json.rb in strong_json-0.0.1 vs lib/strong_json.rb in strong_json-0.0.2

- old
+ new

@@ -6,10 +6,10 @@ def initialize(&block) instance_eval(&block) end def let(name, type) - define_method(name) { type } + define_singleton_method(name) { type } end include StrongJSON::Types end