Class: Cabriolet::Models::FolderData
- Inherits:
-
Object
- Object
- Cabriolet::Models::FolderData
- Defined in:
- lib/cabriolet/models/folder_data.rb
Overview
FolderData represents a data location span for a folder Folders may span multiple cabinets, so they have a chain of FolderData
Instance Attribute Summary collapse
-
#cabinet ⇒ Object
Returns the value of attribute cabinet.
-
#next_data ⇒ Object
Returns the value of attribute next_data.
-
#offset ⇒ Object
Returns the value of attribute offset.
Instance Method Summary collapse
-
#initialize(cabinet, offset) ⇒ FolderData
constructor
Initialize a new FolderData.
Constructor Details
#initialize(cabinet, offset) ⇒ FolderData
Initialize a new FolderData
14 15 16 17 18 |
# File 'lib/cabriolet/models/folder_data.rb', line 14 def initialize(cabinet, offset) @cabinet = cabinet @offset = offset @next_data = nil end |
Instance Attribute Details
#cabinet ⇒ Object
Returns the value of attribute cabinet.
8 9 10 |
# File 'lib/cabriolet/models/folder_data.rb', line 8 def cabinet @cabinet end |
#next_data ⇒ Object
Returns the value of attribute next_data.
8 9 10 |
# File 'lib/cabriolet/models/folder_data.rb', line 8 def next_data @next_data end |
#offset ⇒ Object
Returns the value of attribute offset.
8 9 10 |
# File 'lib/cabriolet/models/folder_data.rb', line 8 def offset @offset end |