require_relative "../transformation" class Skala::Transformation::Step attr_accessor :transformation def initialize(transformation) @transformation = transformation end # # Each step has transparent access to all methods of it's transformation # def method_missing(method_name, *args, &block) if @transformation.respond_to?(method_name) @transformation.send(method_name, *args, &block) else super end end def respond_to_missing?(method_name, include_private = false) @transformation.respond_to?(method_name) || super end end