Sha256: a855d9ebf8c3644b44142f9c7c34bdecaaa3535748f906e09917ea2bf5250565
Contents?: true
Size: 527 Bytes
Versions: 1
Compression:
Stored size: 527 Bytes
Contents
require_relative "../transformer" module Metacrunch class Transformer class Step def initialize(transformer) @transformer = transformer end def perform raise NotImplementedError, "You must implement .perform() in your rule sub-class" end def transformer @transformer end def source transformer.source end def target transformer.target end def options transformer.options end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metacrunch-2.1.0 | lib/metacrunch/transformer/step.rb |