Class: Mumukit::Assistant::Message::Fixed
- Inherits:
-
Object
- Object
- Mumukit::Assistant::Message::Fixed
- Defined in:
- lib/mumukit/assistant/message.rb
Overview
Fixed messages are independent of the number of attemps
Instance Method Summary collapse
- #call(_) ⇒ Object
-
#initialize(text) ⇒ Fixed
constructor
A new instance of Fixed.
Constructor Details
#initialize(text) ⇒ Fixed
Returns a new instance of Fixed.
5 6 7 |
# File 'lib/mumukit/assistant/message.rb', line 5 def initialize(text) @text = text end |
Instance Method Details
#call(_) ⇒ Object
9 10 11 |
# File 'lib/mumukit/assistant/message.rb', line 9 def call(_) @text end |