Sha256: b1053e8ddae608f6dd36021d6ddd8a0ad5cba911f800c9606faaae222faec23a
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
class Celsius::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
Version data entries
4 entries across 4 versions & 1 rubygems