Populator

Populator 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

The extended module focusses on business logic required to process a single row.

Contributing to populator

Copyright © 2011 Umang Chouhan. See LICENSE.txt for further details.