Method: Fall::RecordOperation#chain

Defined in:
lib/fall/record_operation.rb

#chain(operation) ⇒ Object Also known as: >>



37
38
39
40
41
42
# File 'lib/fall/record_operation.rb', line 37

def chain(operation)
  identity = ->(i) { i }

  composed = (func >> (operation.func >> identity))
  self.class.new(composed)
end