Class: RubyPowerpoint::Paragraph
- Inherits:
-
Object
- Object
- RubyPowerpoint::Paragraph
- Defined in:
- lib/ruby_powerpoint/paragraph.rb
Instance Method Summary collapse
- #content ⇒ Object
-
#initialize(slide, paragraph_xml) ⇒ Paragraph
constructor
A new instance of Paragraph.
Constructor Details
#initialize(slide, paragraph_xml) ⇒ Paragraph
Returns a new instance of Paragraph.
3 4 5 6 7 |
# File 'lib/ruby_powerpoint/paragraph.rb', line 3 def initialize , paragraph_xml @slide = @presentation = .presentation @paragraph_xml = paragraph_xml end |
Instance Method Details
#content ⇒ Object
9 10 11 |
# File 'lib/ruby_powerpoint/paragraph.rb', line 9 def content content_element @paragraph_xml end |