Module: Laminar::Particle::ClassMethods

Defined in:
lib/laminar/particle.rb

Overview

Laminar::Particle class methods and attributes.

Instance Method Summary collapse

Instance Method Details

#call(context = {}) ⇒ Object



20
21
22
# File 'lib/laminar/particle.rb', line 20

def call(context = {})
  new(context).invoke
end

#call!(context = {}) ⇒ Object



24
25
26
# File 'lib/laminar/particle.rb', line 24

def call!(context = {})
  new(context).invoke!
end