Class: Kinabo::Fromtis::Remessa::Builder
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- Kinabo::Fromtis::Remessa::Builder
- Includes:
- Hashie::Extensions::Dash::Coercion, Utils
- Defined in:
- lib/kinabo/fromtis/remessa/builder.rb
Instance Method Summary collapse
Methods included from Utils
#fill_sequencial, #justify_number, #justify_string, #justify_value, #parse_date, #parse_decimal, #parse_number, #parse_string
Instance Method Details
#build ⇒ Object
11 12 13 14 15 |
# File 'lib/kinabo/fromtis/remessa/builder.rb', line 11 def build lines = [header, transacoes, Trailler.new].flatten.map(&:build) fill_sequencial(lines.flatten) end |