lib/representable/serializer.rb in representable-2.4.0.rc2 vs lib/representable/serializer.rb in representable-2.4.0.rc3

- old
+ new

@@ -1,10 +1,10 @@ module Representable Getter = ->(input, options) do options[:binding].evaluate_option(:getter, input, options) end - Get = ->(input, options) { options[:binding].send(:exec_context, options).send(options[:binding].getter) } + GetValue = ->(input, options) { options[:binding].send(:exec_context, options).send(options[:binding].getter) } Writer = ->(input, options) do options[:binding].evaluate_option(:writer, input, options) Pipeline::Stop end \ No newline at end of file