Sha256: f25643e3b894e22baf06b0e174244c0a32405660f38118d2e13b6c4f97e5f1c1

Contents?: true

Size: 840 Bytes

Versions: 70

Compression:

Stored size: 840 Bytes

Contents

module RubyApp

  module Elements

    module Pages

      module TestPages
        require 'ruby_app/elements/link'
        require 'ruby_app/elements/markdown'
        require 'ruby_app/elements/pages/blank_page'
        require 'ruby_app/elements/pages/test_pages/linked_test_page'
        require 'ruby_app/session'

        class LinkTestPage < RubyApp::Elements::Pages::BlankPage

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

          def initialize
            super

            @markdown = RubyApp::Elements::Markdown.new

            @link = RubyApp::Elements::Link.new
            @link.clicked do |element, event|
              RubyApp::Session.pages.push(RubyApp::Elements::Pages::TestPages::LinkedTestPage.new)
              event.refresh
            end

          end

        end

      end

    end

  end

end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
RubyApp-0.0.48 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.47 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.46 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.45 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.44 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.43 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.42 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.41 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.30 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.29 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.28 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.27 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.26 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.25 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.24 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.23 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.22 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.21 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.20 lib/ruby_app/elements/pages/test_pages/link_test_page.rb
RubyApp-0.0.19 lib/ruby_app/elements/pages/test_pages/link_test_page.rb