Module: BatchFactory
- Defined in:
- lib/batch_factory.rb,
lib/batch_factory/parser.rb,
lib/batch_factory/version.rb,
lib/batch_factory/hashed_worksheet.rb
Defined Under Namespace
Modules: VERSION Classes: HashedWorksheet, Parser
Class Method Summary collapse
Class Method Details
.from_file(file_location, options = {}) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/batch_factory.rb', line 12 def from_file(file_location, = {}) parser = BatchFactory::Parser.new parser.open file_location, parser.parse! parser.hashed_worksheet end |