Class: Foraneus::Error
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
3 4 5 |
# File 'lib/foraneus/errors.rb', line 3 def key @key end |
#message ⇒ Object
Returns the value of attribute message
3 4 5 |
# File 'lib/foraneus/errors.rb', line 3 def @message end |
Instance Method Details
#to_s ⇒ Object
4 5 6 |
# File 'lib/foraneus/errors.rb', line 4 def to_s "#{key} - #{}" end |