Exception: Nineteen::Eighty::Two::Exceptions::SpectrumException

Inherits:
Exception
  • Object
show all
Defined in:
lib/nineteen/eighty/two/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ SpectrumException

Returns a new instance of SpectrumException.



8
9
10
# File 'lib/nineteen/eighty/two/exceptions.rb', line 8

def initialize message
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/nineteen/eighty/two/exceptions.rb', line 6

def message
  @message
end