Class: DialogEvent

Inherits:
ArcadiaEvent show all
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

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

#levelObject

Returns the value of attribute level.



301
302
303
# File 'lib/a-contracts.rb', line 301

def level
  @level
end

#msgObject

Returns the value of attribute msg.



301
302
303
# File 'lib/a-contracts.rb', line 301

def msg
  @msg
end

#titleObject

Returns the value of attribute title.



301
302
303
# File 'lib/a-contracts.rb', line 301

def title
  @title
end

#typeObject

Returns the value of attribute type.



301
302
303
# File 'lib/a-contracts.rb', line 301

def type
  @type
end