class OpenXml::Parts::UnparsedPart
Public Class Methods
new(content)
click to toggle source
# File lib/open_xml/parts/unparsed_part.rb, line 5 def initialize(content) @content = content end
Public Instance Methods
content()
click to toggle source
# File lib/open_xml/parts/unparsed_part.rb, line 9 def content @content = @content.get_input_stream.read if promise? @content end
promise?()
click to toggle source
# File lib/open_xml/parts/unparsed_part.rb, line 14 def promise? @content.respond_to? :get_input_stream end