Class: Spielbash::MessageContext
- Inherits:
-
ActionContext
- Object
- Context
- ActionContext
- Spielbash::MessageContext
- Defined in:
- lib/spielbash/model/action/message_context.rb
Instance Attribute Summary collapse
-
#delete ⇒ Object
Returns the value of attribute delete.
Attributes inherited from ActionContext
Attributes inherited from Context
#height, #reading_delay_s, #typing_delay_s, #wait, #wait_check_cmd, #width
Instance Method Summary collapse
-
#initialize(base_context, typing_delay_s, reading_delay_s, wait, width, height, delete) ⇒ MessageContext
constructor
A new instance of MessageContext.
Methods inherited from ActionContext
#reading_delay_s, #typing_delay_s, #wait
Constructor Details
#initialize(base_context, typing_delay_s, reading_delay_s, wait, width, height, delete) ⇒ MessageContext
Returns a new instance of MessageContext.
5 6 7 8 |
# File 'lib/spielbash/model/action/message_context.rb', line 5 def initialize(base_context, typing_delay_s, reading_delay_s, wait, width, height, delete) super(base_context, typing_delay_s, reading_delay_s, wait, width, height) @delete = delete end |
Instance Attribute Details
#delete ⇒ Object
Returns the value of attribute delete.
3 4 5 |
# File 'lib/spielbash/model/action/message_context.rb', line 3 def delete @delete end |