Module: Smilodon

Defined in:
lib/smilodon.rb,
lib/smilodon/railtie.rb,
lib/smilodon/version.rb

Overview

Note:

As noted in the example the extended module defines the logic to process a single row.

Smilodon includes helper methods to ease parsing data files. Assigning a header and iterating over rows is handled by the module via a simple configuration.

Examples:

Define a module and extend it with the populator module.

A Custom Populator.

module CustomPopulator
  extend Populator
  populates 'CustomFile'

  def process(row)
    ...
  end
end

Defined Under Namespace

Modules: Populator Classes: Railtie

Constant Summary collapse

VERSION =
'0.3.1'