lib/seek/parser_mapper.rb
# the default mapping entry
# if no block is specified a simple block is defined that just returns the input
the default mapping entry
if no block is specified a simple block is defined that just returns the input
the default mapping entry if no block is specified a simple block is defined that just returns the input
def mapping_entry column_name, block=nil
      unless block
        block = proc { |data| data}
      end
      {:column => column_name, :value => block}
    end
def mapping_entry column_name , block = nil unless block block = proc { | data | data } end { :column => column_name , :value => block } end
the default mapping entry
if no block is specified a simple block is defined that just returns the input
the default mapping entry if no block is specified a simple block is defined that just returns the input
column_name
block