Module: Mandy::IO::InputFormatting

Included in:
Mappers::Base
Defined in:
lib/mandy/support/formatting.rb

Instance Method Summary collapse

Instance Method Details

#input_deserialize_key(key) ⇒ Object



4
5
6
7
# File 'lib/mandy/support/formatting.rb', line 4

def input_deserialize_key(key)
  return key if input_format && input_format == :plain
  deserialize_key(key)
end

#input_deserialize_value(value) ⇒ Object



9
10
11
12
# File 'lib/mandy/support/formatting.rb', line 9

def input_deserialize_value(value)
  return value if input_format && input_format == :plain
  deserialize_value(value)
end