Exception: Moon::Test::AssertError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/moon/packages/test/assert.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack, message) ⇒ AssertError

Returns a new instance of AssertError.


6
7
8
9
# File 'lib/moon/packages/test/assert.rb', line 6

def initialize(stack, message)
  @test_stack = stack
  super message
end

Instance Attribute Details

#test_stackObject

Returns the value of attribute test_stack


4
5
6
# File 'lib/moon/packages/test/assert.rb', line 4

def test_stack
  @test_stack
end