Class: Representable::Function::Prepare

Inherits:
Object
  • Object
show all
Defined in:
lib/representable/deserializer.rb

Instance Method Summary collapse

Instance Method Details

#call(input, options) ⇒ Object



36
37
38
39
40
# File 'lib/representable/deserializer.rb', line 36

def call(input, options)
  binding = options[:binding]

  binding.evaluate_option(:prepare, input, options)
end