Class: RubyApp::Element::ExceptionEvent
- Defined in:
- lib/ruby_app/element.rb
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(exception) ⇒ ExceptionEvent
constructor
A new instance of ExceptionEvent.
Methods inherited from Event
#add_class, #alert, #confirm_refresh, #execute, from_hash, #go, #hide_dialog, #log, #process!, #refresh, #remove_class, #set_cookie, #show_dialog, #to_hash, #today, #update_element, #update_text, #update_value
Methods included from Mixins::TranslateMixin
Constructor Details
#initialize(exception) ⇒ ExceptionEvent
Returns a new instance of ExceptionEvent.
124 125 126 127 |
# File 'lib/ruby_app/element.rb', line 124 def initialize(exception) super() self.confirm_refresh(RubyApp::Element::ExceptionEvent.translate.(exception.)) end |