Module: Laminar::Particle
- Defined in:
- lib/laminar/particle.rb
Overview
Base methods for a logic particle. Particles can be invoked by themselves or as part of a Flow. Classes should include this module rather than inherit.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/laminar/particle.rb', line 8 def self.included(klass) klass.class_eval do extend ClassMethods include Callbacks include InstanceMethods end attr_reader :context end |