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.5.86 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.85 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.77 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.76 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.75 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.74 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.73 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.72 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.71 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.70 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.69 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.68 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.67 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.66 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.65 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.64 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.63 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.62 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.61 lib/ruby_app/elements/mobile/pages/information/pages_page.rb
RubyApp-0.5.60 lib/ruby_app/elements/mobile/pages/information/pages_page.rb