Class: DialogEvent
- Inherits:
-
ArcadiaEvent
- Object
- Event
- ArcadiaEvent
- DialogEvent
- Defined in:
- lib/a-contracts.rb
Overview
default actions_pattern = ‘OK’
Direct Known Subclasses
Defined Under Namespace
Classes: Result
Constant Summary collapse
- TYPE_PATTERNS =
['ok', 'yes_no', 'ok_cancel', 'yes_no_cancel', 'abort_retry_ignore']
- MSG_MAX_CHARS =
500
- TITLE_MAX_CHARS =
100
Constants inherited from Event
Event::FLAG_DEFAULT, Event::FLAG_ERROR
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#level ⇒ Object
Returns the value of attribute level.
-
#msg ⇒ Object
Returns the value of attribute msg.
-
#prompt ⇒ Object
Returns the value of attribute prompt.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Event
#channel, #flag, #parent, #results, #sender, #time
Method Summary
Methods inherited from ArcadiaEvent
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
#exception ⇒ Object
Returns the value of attribute exception.
388 389 390 |
# File 'lib/a-contracts.rb', line 388 def exception @exception end |
#level ⇒ Object
Returns the value of attribute level.
388 389 390 |
# File 'lib/a-contracts.rb', line 388 def level @level end |
#msg ⇒ Object
Returns the value of attribute msg.
388 389 390 |
# File 'lib/a-contracts.rb', line 388 def msg @msg end |
#prompt ⇒ Object
Returns the value of attribute prompt.
388 389 390 |
# File 'lib/a-contracts.rb', line 388 def prompt @prompt end |
#title ⇒ Object
Returns the value of attribute title.
388 389 390 |
# File 'lib/a-contracts.rb', line 388 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
388 389 390 |
# File 'lib/a-contracts.rb', line 388 def type @type end |