Class: RubyPoint::App::Slide
- Defined in:
- lib/rubypoint/docProps/app.rb
Instance Attribute Summary collapse
-
#slide ⇒ Object
Returns the value of attribute slide.
Attributes inherited from Element
#objects, #parent, #presentation
Instance Method Summary collapse
-
#initialize(slide) ⇒ Slide
constructor
A new instance of Slide.
- #raw ⇒ Object
- #write ⇒ Object
Methods inherited from Element
Constructor Details
#initialize(slide) ⇒ Slide
Returns a new instance of Slide.
33 34 35 |
# File 'lib/rubypoint/docProps/app.rb', line 33 def initialize() @slide = end |
Instance Attribute Details
#slide ⇒ Object
Returns the value of attribute slide.
31 32 33 |
# File 'lib/rubypoint/docProps/app.rb', line 31 def @slide end |
Instance Method Details
#raw ⇒ Object
42 43 44 |
# File 'lib/rubypoint/docProps/app.rb', line 42 def raw %Q{<vt:lpstr>Slide #{.}</vt:lpstr>} end |
#write ⇒ Object
37 38 39 40 |
# File 'lib/rubypoint/docProps/app.rb', line 37 def write # TODO need a freaking better search that this!!! @parent.doc.search("//vt:vector[@baseType='lpstr']").html += self.raw end |