Class: Garb::Management::Segment
- Inherits:
-
Object
- Object
- Garb::Management::Segment
- Extended by:
- Attributes
- Includes:
- PathAttribute
- Defined in:
- lib/garb/management/segment.rb
Instance Attribute Summary collapse
-
#session ⇒ Object
readonly
Returns the value of attribute session.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(entry, session) ⇒ Segment
constructor
A new instance of Segment.
Methods included from Attributes
Methods included from PathAttribute
Constructor Details
#initialize(entry, session) ⇒ Segment
Returns a new instance of Segment.
15 16 17 18 |
# File 'lib/garb/management/segment.rb', line 15 def initialize(entry, session) @entry = entry @session = session end |
Instance Attribute Details
#session ⇒ Object (readonly)
Returns the value of attribute session.
7 8 9 |
# File 'lib/garb/management/segment.rb', line 7 def session @session end |