lib/representable/definition.rb in representable-1.8.0 vs lib/representable/definition.rb in representable-1.8.1
- old
+ new
@@ -88,10 +88,10 @@
self[name] = value
end
end
def dynamic_options
- [:as, :getter, :setter, :class, :instance, :reader, :writer, :extend, :prepare, :if]
+ [:as, :getter, :setter, :class, :instance, :reader, :writer, :extend, :prepare, :if, :deserialize, :serialize]
end
def handle_extend!(options)
mod = options.delete(:extend) || options.delete(:decorator) and options[:extend] = mod
end