lib/finix/hal_resource.rb in finix-0.2 vs lib/finix/hal_resource.rb in finix-0.3

- old
+ new

@@ -19,21 +19,7 @@ result = value.call return result end end end - - if RUBY_VERSION < '1.9' - def respond_to?(method_name, include_private=false) - does_resource_respond_to?(method_name) || super - end - else - def respond_to_missing?(method_name, include_private=false) - does_resource_respond_to?(method_name) || super - end - end - - def does_resource_respond_to?(method_name) - @attributes.has_key?(method_name.to_s) or @hyperlinks.has_key?(method_name.to_s) - end end end