Sha256: 9f8ec5fbf1ec55b280d512b339192e047807464e7eee05b946018355952ad59b

Contents?: true

Size: 685 Bytes

Versions: 121

Compression:

Stored size: 685 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

      module Dialogs
        require 'ruby_app/elements/mobile/dialogs/response_dialog'

        class AcknowledgementDialog < RubyApp::Elements::Mobile::Dialogs::ResponseDialog

          template_path(:all, File.dirname(__FILE__))

          def initialize(title, message)
            super()

            @response = false

            @title = title
            @message = message

            @ok_link = RubyApp::Elements::Mobile::Dialogs::ResponseDialog::CloseLink.new
            @ok_link.clicked do |element, event|
              @response = true
            end

          end

        end

      end

    end

  end

end

Version data entries

121 entries across 121 versions & 1 rubygems

Version Path
RubyApp-0.5.86 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.85 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.77 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.76 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.75 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.74 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.73 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.72 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.71 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.70 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.69 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.68 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.67 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.66 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.65 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.64 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.63 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.62 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.61 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.60 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb