Method: Bmg::Operator::Transform#initialize

Defined in:
lib/bmg/operator/transform.rb

#initialize(type, operand, transformation, options = {}) ⇒ Transform

Returns a new instance of Transform.



17
18
19
20
21
22
# File 'lib/bmg/operator/transform.rb', line 17

def initialize(type, operand, transformation, options = {})
  @type = type
  @operand = operand
  @transformation = transformation
  @options = DEFAULT_OPTIONS.merge(options)
end