Sha256: fd403a5ce0c58f92d0dcd1acff9782e1a9221f1dccf2de6537b1915684d48a38
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 Bytes
Contents
module RubyApp module Elements module Dialogs require 'rubyapp/elements/dialog' class ExceptionDialog < RubyApp::Elements::Dialog template_path(__FILE__) def initialize(exception) super() require 'rubyapp/elements/exception_element' @exception_element = RubyApp::Elements::ExceptionElement.new(exception) @close = RubyApp::Elements::Link.new @close.clicked do |element, event| event.hide_dialog(self) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
_rubyapp-0.0.3 | lib/rubyapp/elements/dialogs/exception_dialog.rb |