Module: Norma43

Defined in:
lib/norma43.rb,
lib/norma43/models.rb,
lib/norma43/parser.rb,
lib/norma43/version.rb,
lib/norma43/line_handlers.rb,
lib/norma43/models/account.rb,
lib/norma43/utils/contexts.rb,
lib/norma43/line_processors.rb,
lib/norma43/models/document.rb,
lib/norma43/utils/typecaster.rb,
lib/norma43/models/transaction.rb,
lib/norma43/utils/string_helpers.rb,
lib/norma43/models/additional_item.rb,
lib/norma43/line_parsers/account_end.rb,
lib/norma43/line_parsers/line_parser.rb,
lib/norma43/line_parsers/transaction.rb,
lib/norma43/line_parsers/document_end.rb,
lib/norma43/line_parsers/account_start.rb,
lib/norma43/models/additional_currency.rb,
lib/norma43/line_parsers/document_start.rb,
lib/norma43/models/account/spanish_iban.rb,
lib/norma43/line_parsers/additional_item.rb,
lib/norma43/line_parsers/additional_currency.rb,
lib/norma43/line_parsers/file_format_validator.rb,
lib/norma43/models/mixins/attributes_assignment.rb

Defined Under Namespace

Modules: LineHandlers, LineParsers, LineProcessors, Models, Utils Classes: InvalidFileFormatError, Parser

Constant Summary collapse

VERSION =
"4.1.0"

Class Method Summary collapse

Class Method Details

.parse(text) ⇒ Object



9
10
11
# File 'lib/norma43.rb', line 9

def self.parse(text)
  Parser.new(text).result
end