Class: Mayak::Csv::Decoder::FromFunction

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Generic, T::Sig
Includes:
Mayak::Csv::Decoder
Defined in:
lib/mayak/csv/decoder.rb

Constant Summary collapse

Value =
type_member

Instance Method Summary collapse

Methods included from Mayak::Csv::Decoder

hash_decoder, hash_decoder_strict, #map, #map_try

Instance Method Details

#decode(csv) ⇒ Object



149
150
151
# File 'lib/mayak/csv/decoder.rb', line 149

def decode(csv)
  fn.call(csv)
end