Sha256: f9cd0d8ebf04f7a38c7e3072bc2ca7a31976f082205f43374a14db2baf9e7f5d

Contents?: true

Size: 1.44 KB

Versions: 42

Compression:

Stored size: 1.44 KB

Contents

module RubyApp

  module Elements

    module Pages

      module TestPages
        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

42 entries across 42 versions & 1 rubygems

Version Path
RubyApp-0.0.71 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.70 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.69 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.68 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.64 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.63 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.62 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.61 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.60 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.59 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.58 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.57 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.56 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.55 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.54 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.53 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.52 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.51 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.50 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.49 lib/ruby_app/elements/pages/test_pages/default_test_page.rb