Sha256: 90baf0276a3e40170e2669eb8f1d756fdfdc711dbd1e3ba1012c51e55691357c

Contents?: true

Size: 1.02 KB

Versions: 134

Compression:

Stored size: 1.02 KB

Contents

module RubyApp

  module Elements

    module Mobile

      module Pages

        module Information
          require 'ruby_app/elements/mobile/navigation/back_button'
          require 'ruby_app/elements/mobile/pages/information/pages_list'
          require 'ruby_app/elements/mobile/page'
          require 'ruby_app/elements/mobile/pages/information/page_page'

          class PagesPage < RubyApp::Elements::Mobile::Page

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

            def initialize(document)
              super()

              @document = document

              @back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new

              @pages_list = RubyApp::Elements::Mobile::Pages::Information::PagesList.new(@document)
              @pages_list.item_clicked do |element, event|
                RubyApp::Elements::Mobile::Pages::Information::PagePage.new(event.item.page).show(event, element.options)
              end

            end

          end

        end

      end

    end

  end

end

Version data entries

134 entries across 134 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.15 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.14 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.13 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.12 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.11 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.10 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.9 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.5 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.4 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.3 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.2 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.1 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.7.0 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.6.71 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.6.70 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.6.69 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.6.68 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.6.67 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.6.66 lib/ruby_app/elements/mobile/pages/information/pages_page.rb