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.91 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.90 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.89 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.88 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.87 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.86 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.85 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.84 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.83 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.82 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.81 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.80 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.79 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.78 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.77 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.76 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.75 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.74 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.73 lib/ruby_app/elements/pages/test_pages/default_test_page.rb
RubyApp-0.0.72 lib/ruby_app/elements/pages/test_pages/default_test_page.rb