Exception: Laminar::ParticleStopped

Inherits:
StandardError
  • Object
show all
Defined in:
lib/laminar/particle_stopped.rb

Overview

Raised when someone calls fail!() on a Laminar::Context.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context = nil) ⇒ ParticleStopped

Returns a new instance of ParticleStopped.



8
9
10
11
# File 'lib/laminar/particle_stopped.rb', line 8

def initialize(context = nil)
  @context = context
  super
end

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



6
7
8
# File 'lib/laminar/particle_stopped.rb', line 6

def context
  @context
end