Sha256: e108063c142c569bcc94deaac2639fbb13af349de83221c9d211b1eff5b73b96
Contents?: true
Size: 957 Bytes
Versions: 133
Compression:
Stored size: 957 Bytes
Contents
module RubyApp module Elements module Mobile module Pages module Information require 'ruby_app/elements/mobile/pages/information/information_list' class DocumentsList < RubyApp::Elements::Mobile::Pages::Information::InformationList class DocumentsListItem < RubyApp::Elements::Mobile::Pages::Information::InformationList::InformationListItem template_path(:all, File.dirname(__FILE__)) alias :document :item def initialize(document) super(document) end end template_path(:all, File.dirname(__FILE__)) def initialize(session) super() self.items = session.documents.collect { |document| RubyApp::Elements::Mobile::Pages::Information::DocumentsList::DocumentsListItem.new(document) } end end end end end end end
Version data entries
133 entries across 133 versions & 1 rubygems