Class: DialogEvent
- Inherits:
-
ArcadiaEvent
- Object
- Event
- ArcadiaEvent
- DialogEvent
- Defined in:
- lib/a-contracts.rb
Overview
default actions_pattern = ‘OK’
Defined Under Namespace
Classes: Result
Constant Summary collapse
- TYPE_PATTERNS =
['ok', 'yes_no', 'ok_cancel', 'yes_no_cancel', 'abort_retry_ignore']
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#msg ⇒ Object
Returns the value of attribute msg.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Event
#channel, #parent, #results, #sender, #time
Method Summary
Methods inherited from Event
#add_finalize_callback, #add_result, #break, #initialize, #is_breaked?
Constructor Details
This class inherits a constructor from Event
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
301 302 303 |
# File 'lib/a-contracts.rb', line 301 def level @level end |
#msg ⇒ Object
Returns the value of attribute msg.
301 302 303 |
# File 'lib/a-contracts.rb', line 301 def msg @msg end |
#title ⇒ Object
Returns the value of attribute title.
301 302 303 |
# File 'lib/a-contracts.rb', line 301 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
301 302 303 |
# File 'lib/a-contracts.rb', line 301 def type @type end |