Class: Nemo::Examples::DatePicker::Session

Inherits:
Wee::Session
  • Object
show all
Defined in:
lib/nemo/examples/date_picker.rb

Instance Method Summary collapse

Constructor Details

#initializeSession

Returns a new instance of Session.



67
68
69
70
71
72
# File 'lib/nemo/examples/date_picker.rb', line 67

def initialize
  super do
    self.root_component = Nemo::Examples::DatePicker::Root.new
    self.page_store = Wee::Utils::LRUCache.new(25) # backtrack up to 25 pages
  end
end