Sha256: 424b16d58a9ec063d31882839262a90b7c06329069bc1637bbb9adb4869e38e3
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
require 'arc-furnace/source' module ArcFurnace class Transform < Source private_attr_reader :source def initialize(source:) @source = source end def prepare source.prepare end def value value = source.value.deep_dup transform(value) if value end def transform(row) row end delegate [:empty?, :advance] => :source end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arc-furnace-0.1.3 | lib/arc-furnace/transform.rb |
arc-furnace-0.1.0 | lib/arc-furnace/transform.rb |