Module: Laminar::Flow::ClassMethods

Defined in:
lib/laminar/flow.rb

Overview

Add class methods and attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flowspecObject (readonly)

Returns the value of attribute flowspec.



90
91
92
# File 'lib/laminar/flow.rb', line 90

def flowspec
  @flowspec
end

Instance Method Details

#flow(args = {}, &block) ⇒ Object

Entry point for defining a flow.



93
94
95
# File 'lib/laminar/flow.rb', line 93

def flow(args = {}, &block)
  @flowspec = Specification.new(args, &block)
end