Exception: Exception
- Defined in:
- lib/dude.rb
Instance Attribute Summary collapse
-
#initial_message ⇒ Object
readonly
Returns the value of attribute initial_message.
Instance Method Summary collapse
-
#initialize(message) ⇒ Exception
constructor
A new instance of Exception.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ Exception
Returns a new instance of Exception.
4 5 6 |
# File 'lib/dude.rb', line 4 def initialize() @initial_message = end |
Instance Attribute Details
#initial_message ⇒ Object (readonly)
Returns the value of attribute initial_message.
2 3 4 |
# File 'lib/dude.rb', line 2 def @initial_message end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/dude.rb', line 8 def to_s "#{@initial_message}, dude." end |