Class: HTTP::Session::Context
- Inherits:
-
Object
- Object
- HTTP::Session::Context
- Defined in:
- lib/http/session/context.rb,
lib/http/session/context/follow_context.rb
Defined Under Namespace
Classes: FollowContext
Instance Attribute Summary collapse
-
#follow ⇒ Object
readonly
Returns the value of attribute follow.
Instance Method Summary collapse
-
#initialize(options) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(options) ⇒ Context
Returns a new instance of Context.
9 10 11 |
# File 'lib/http/session/context.rb', line 9 def initialize() @follow = [:follow] end |
Instance Attribute Details
#follow ⇒ Object (readonly)
Returns the value of attribute follow.
5 6 7 |
# File 'lib/http/session/context.rb', line 5 def follow @follow end |