Class: _APPLICATION_UPCODE_::Session
- Inherits:
-
RubyApp::Session
- Object
- RubyApp::Session
- _APPLICATION_UPCODE_::Session
- Defined in:
- lib/ruby_app/templates/application/lib/_APPLICATION_DOWNCODE_/session.rb
Instance Attribute Summary
Attributes inherited from RubyApp::Session
#data, #identity, #pages, #session_id
Instance Method Summary collapse
-
#initialize(session_id, page = nil) ⇒ Session
constructor
A new instance of Session.
Methods inherited from RubyApp::Session
#[], #[]=, create!, destroy!, get, #quit, #show
Methods included from RubyApp::Mixins::DelegateMixin
Methods included from RubyApp::Mixins::TranslateMixin
Methods included from RubyApp::Mixins::ConfigureMixin
Methods included from RubyApp::Mixins::HashMixin
Constructor Details
#initialize(session_id, page = nil) ⇒ Session
Returns a new instance of Session.
10 11 12 13 |
# File 'lib/ruby_app/templates/application/lib/_APPLICATION_DOWNCODE_/session.rb', line 10 def initialize(session_id, page = nil) require '_APPLICATION_DOWNCODE_/elements/pages/default_page' super(session_id, page || _APPLICATION_UPCODE_::Elements::Pages::DefaultPage.new) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RubyApp::Mixins::HashMixin