Class: ExceptionOverflow::Message
- Inherits:
-
Object
- Object
- ExceptionOverflow::Message
- Defined in:
- lib/exception_overflow/message.rb
Instance Method Summary collapse
-
#initialize(q) ⇒ Message
constructor
A new instance of Message.
- #render ⇒ Object
Constructor Details
#initialize(q) ⇒ Message
Returns a new instance of Message.
3 4 5 |
# File 'lib/exception_overflow/message.rb', line 3 def initialize(q) @q = q end |
Instance Method Details
#render ⇒ Object
7 8 9 |
# File 'lib/exception_overflow/message.rb', line 7 def render @q + "\n\n#{links}" end |