Method: IoTools::Importer::ClassMethods#conform

Defined in:
lib/io_tools/importer.rb

#conform(&block) ⇒ Object



21
22
23
24
25
# File 'lib/io_tools/importer.rb', line 21

def conform &block
  define_method :conform do |post|
    block.call(post, ItemStruct.new)
  end
end