Sha256: b6b9b50bafa18775d18273004916fd9f0f366fbfeb952cb598c851edadeaa190
Contents?: true
Size: 840 Bytes
Versions: 121
Compression:
Stored size: 840 Bytes
Contents
module RubyApp module Elements module Mobile module Dialogs require 'ruby_app/elements/mobile/dialogs/response_dialog' class ConfirmationDialog < RubyApp::Elements::Mobile::Dialogs::ResponseDialog template_path(:all, File.dirname(__FILE__)) def initialize(title, message) super() @title = title @message = message @yes_link = RubyApp::Elements::Mobile::Dialogs::ResponseDialog::CloseLink.new @yes_link.clicked do |element, event| @response = true end @no_link = RubyApp::Elements::Mobile::Dialogs::ResponseDialog::CloseLink.new @no_link.clicked do |element, event| @response = false end end end end end end end
Version data entries
121 entries across 121 versions & 1 rubygems