Sha256: 9fe5d2e597c372aa913755665012b84c721ba735ea14cd11dccf2a166fcab04a
Contents?: true
Size: 343 Bytes
Versions: 1
Compression:
Stored size: 343 Bytes
Contents
module Wukong module Streamer # # Instantiate an instance of 'record_model' for each line class InstanceStreamer < Wukong::Streamer::RecordStreamer class_attribute :record_model def recordize(raw_record) fields = super(raw_record) [ record_model.new(*fields) ] if fields end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wukong-3.0.0.pre | old/wukong/streamer/instance_streamer.rb |