lib/representable/xml/hash.rb in representable-1.8.5 vs lib/representable/xml/hash.rb in representable-2.0.0.rc1

- old
+ new

@@ -8,45 +8,37 @@ def self.included(base) base.class_eval do include Representable extend ClassMethods + representable_attrs.add(:_self, {:hash => true, :use_attributes => true}) end end module ClassMethods def values(options) hash :_self, options.merge!(:use_attributes => true) end end - - - def definition_opts - [:_self, {:hash => true, :use_attributes => true}] - end end module Hash include Representable::XML include HashMethods def self.included(base) base.class_eval do include Representable extend ClassMethods + representable_attrs.add(:_self, {:hash => true}) end end module ClassMethods def values(options) hash :_self, options end - end - - - def definition_opts - [:_self, {:hash => true}] end end end