Method: FlatMap::Mapping::Reader::Formatted#read
- Defined in:
- lib/flat_map/mapping/reader/formatted.rb
#read(*args) ⇒ Object
Read the value just like the Basic reader does, but additionally send the returned value to its format method.
Additional arguments will be passed to formatting function of the mapping’s format.
28 29 30 |
# File 'lib/flat_map/mapping/reader/formatted.rb', line 28 def read(*args) format_value(super, *args) end |