Class: Mumukit::Assistant::Message::Fixed

Inherits:
Object
  • Object
show all
Defined in:
lib/mumukit/assistant/message.rb

Overview

Fixed messages are independent of the number of attemps

Instance Method Summary collapse

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