Sha256: ffb5ef974fdc7d09ff93dda7f67d743d66e29d4b54ef8a173242228cb5c813e2
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 Bytes
Contents
class RemoteTable class Transformer attr_reader :t attr_accessor :legacy_transformer def initialize(t) @t = t end # eventually this will support a different way of specifying a transformer def transform(row) if legacy_transformer legacy_transformer.apply row else [ row ] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
remote_table-1.0.2 | lib/remote_table/transformer.rb |
remote_table-1.0.1 | lib/remote_table/transformer.rb |
remote_table-1.0.0 | lib/remote_table/transformer.rb |