Exception: Sapphire::Testing::ExpectationException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sapphire/Testing/ExpectationException.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(messages) ⇒ ExpectationException

Returns a new instance of ExpectationException.



6
7
8
# File 'lib/sapphire/Testing/ExpectationException.rb', line 6

def initialize(messages)
  @messages = messages
end

Instance Attribute Details

#messagesObject (readonly)

Returns the value of attribute messages.



4
5
6
# File 'lib/sapphire/Testing/ExpectationException.rb', line 4

def messages
  @messages
end