Module: Laminar::Flow::ClassMethods
- Defined in:
- lib/laminar/flow.rb
Overview
Add class methods and attributes.
Instance Attribute Summary collapse
-
#flowspec ⇒ Object
readonly
Returns the value of attribute flowspec.
Instance Method Summary collapse
-
#flow(args = {}, &block) ⇒ Object
Entry point for defining a flow.
Instance Attribute Details
#flowspec ⇒ Object (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 |