Class: OpenXmlPackage::Part
- Inherits:
-
Struct
- Object
- Struct
- OpenXmlPackage::Part
- Defined in:
- lib/open_xml_package/part.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
2 3 4 |
# File 'lib/open_xml_package/part.rb', line 2 def content @content end |
#path ⇒ Object
Returns the value of attribute path
2 3 4 |
# File 'lib/open_xml_package/part.rb', line 2 def path @path end |
Instance Method Details
#promise? ⇒ Boolean
9 10 11 |
# File 'lib/open_xml_package/part.rb', line 9 def promise? self[:content].respond_to?(:get_input_stream) end |