Class: HelloSession
- Inherits:
-
Tofu::Session
- Object
- Tofu::Session
- HelloSession
- Defined in:
- lib/tofu.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from Tofu::Session
Instance Method Summary collapse
-
#initialize(bartender, hint = nil) ⇒ HelloSession
constructor
A new instance of HelloSession.
- #lookup_view(context) ⇒ Object
Methods inherited from Tofu::Session
#dispatch_event, #do_GET, #do_inner_html, #entry, #expired?, #expires, #fetch, #hint_expires, #renew, #service
Constructor Details
#initialize(bartender, hint = nil) ⇒ HelloSession
Returns a new instance of HelloSession.
667 668 669 670 671 |
# File 'lib/tofu.rb', line 667 def initialize(, hint=nil) super @base = BaseTofu.new(self) @text = '' end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
672 673 674 |
# File 'lib/tofu.rb', line 672 def text @text end |
Instance Method Details
#lookup_view(context) ⇒ Object
674 675 676 |
# File 'lib/tofu.rb', line 674 def lookup_view(context) @base end |