Class: RubyXL::GenericStorageObject
- Inherits:
-
Object
- Object
- RubyXL::GenericStorageObject
- Defined in:
- lib/rubyXL/objects/storage.rb
Direct Known Subclasses
ActiveX, ActiveXBinary, BinaryImageFile, ChartColorsFile, ChartFile, ChartStyleFile, ChartUserShapesFile, ControlPropertiesFile, CustomPropertiesFile, CustomPropertyFile, CustomXMLFile, DrawingFile, HyperlinkRelFile, MacrosFile, OLEObjectFile, PivotCacheDefinitionFile, PivotCacheRecordsFile, PivotTableFile, PrinterSettingsFile, SlicerCacheFile, SlicerFile, TableFile, ThumbnailFile, VMLDrawingFile
Constant Summary collapse
- SAVE_ORDER =
0
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#generic_storage ⇒ Object
Returns the value of attribute generic_storage.
-
#xlsx_path ⇒ Object
Returns the value of attribute xlsx_path.
Class Method Summary collapse
Instance Method Summary collapse
- #add_to_zip(zip_stream) ⇒ Object
-
#initialize(file_path, data) ⇒ GenericStorageObject
constructor
A new instance of GenericStorageObject.
Constructor Details
#initialize(file_path, data) ⇒ GenericStorageObject
Returns a new instance of GenericStorageObject.
8 9 10 11 12 |
# File 'lib/rubyXL/objects/storage.rb', line 8 def initialize(file_path, data) @xlsx_path = file_path @data = data @generic_storage = [] end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
6 7 8 |
# File 'lib/rubyXL/objects/storage.rb', line 6 def data @data end |
#generic_storage ⇒ Object
Returns the value of attribute generic_storage.
6 7 8 |
# File 'lib/rubyXL/objects/storage.rb', line 6 def generic_storage @generic_storage end |
#xlsx_path ⇒ Object
Returns the value of attribute xlsx_path.
6 7 8 |
# File 'lib/rubyXL/objects/storage.rb', line 6 def xlsx_path @xlsx_path end |