lib/representable/definition.rb in representable-1.8.1 vs lib/representable/definition.rb in representable-1.8.2
- old
+ new
@@ -24,10 +24,10 @@
def merge!(options)
setup!(options)
self
end
- private :default, :[]=
+ private :[]= # TODO: re-privatize #default when this is sorted with Rubinius.
def options # TODO: remove in 2.0.
warn "Representable::Definition#option is deprecated, use #[] directly."
self
end