module Laminar::Flow::ClassMethods

Add class methods and attributes.

Attributes

flowspec[R]

@!attribute [r] flowspec

@return [FlowSpec] specification of the class' ruleflow.

Public Instance Methods

flow(args = {}, &block) click to toggle source

Entry point for defining a flow.

# File lib/laminar/flow.rb, line 93
def flow(args = {}, &block)
  @flowspec = Specification.new(args, &block)
end