A new instance of Mapper.
#mapper, #mapper_batched
Returns a new instance of Mapper.
6 7 8 9 10 11 12
# File 'lib/rubadoop/map_reduce/identity.rb', line 6 def initialize(config = {}) super(config) mapper do |line| MapReduce.out.entry(line) end end