Sha256: 827a6259ea44032bafed571ab240f7d63b92aa4fe32df41e2b845e4010f4a2cc

Contents?: true

Size: 1.49 KB

Versions: 13

Compression:

Stored size: 1.49 KB

Contents

module RubyApp

  module Elements

    module Pages

      module TestPages
        require 'ruby_app/elements/dialogs/busy_dialog'
        require 'ruby_app/elements/dialogs/exception_dialog'
        require 'ruby_app/elements/markdown'
        require 'ruby_app/elements/pages/authentication/open_id/google_authentication_page'
        require 'ruby_app/elements/pages/authentication/open_id/my_open_id_authentication_page'
        require 'ruby_app/elements/pages/authentication/open_id/yahoo_authentication_page'
        require 'ruby_app/elements/pages/blank_page'
        require 'ruby_app/elements/pages/test_pages/button_test_page'
        require 'ruby_app/elements/pages/test_pages/dialog_test_page'
        require 'ruby_app/elements/pages/test_pages/input_test_page'
        require 'ruby_app/elements/pages/test_pages/link_test_page'
        require 'ruby_app/elements/pages/test_pages/list_test_page'
        require 'ruby_app/elements/pages/test_pages/markdown_test_page'
        require 'ruby_app/elements/pages/test_pages/test_page'
        require 'ruby_app/session'

        class DefaultTestPage < RubyApp::Elements::Pages::BlankPage

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

          def initialize
            super

            @markdown = RubyApp::Elements::Markdown.new
            @markdown.clicked do |element, event|
              RubyApp::Session.pages.push(eval(event.name).new)
              event.refresh
            end

          end

        end

      end

    end

  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
RubyApp-0.0.46 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.45 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.44 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.43 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.42 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.41 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.30 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.29 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.28 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.27 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.26 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.25 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.24 lib/ruby_app/elements/pages/test_pages/default_test_page.rb