Class: Keynote::Slide
- Inherits:
-
Object
- Object
- Keynote::Slide
- Extended by:
- Util
- Includes:
- Util
- Defined in:
- lib/keynote/slide.rb
Instance Attribute Summary collapse
-
#base_slide ⇒ Object
Returns the value of attribute base_slide.
-
#body ⇒ Object
Returns the value of attribute body.
-
#body_showing ⇒ Object
Returns the value of attribute body_showing.
-
#document ⇒ Object
Returns the value of attribute document.
-
#presenter_notes ⇒ Object
Returns the value of attribute presenter_notes.
-
#skipped ⇒ Object
Returns the value of attribute skipped.
-
#slide_number ⇒ Object
Returns the value of attribute slide_number.
-
#title ⇒ Object
Returns the value of attribute title.
-
#title_showing ⇒ Object
Returns the value of attribute title_showing.
Instance Method Summary collapse
-
#initialize(base_slide = nil, arguments = {}) ⇒ Slide
constructor
A new instance of Slide.
Methods included from Util
Constructor Details
#initialize(base_slide = nil, arguments = {}) ⇒ Slide
Returns a new instance of Slide.
21 22 23 24 25 26 27 28 |
# File 'lib/keynote/slide.rb', line 21 def initialize( = nil, arguments = {}) raise ArgumentError.new('base_slide is not given') unless @base_slide = arguments.each do |attr, val| send("#{attr}=", val) end end |
Instance Attribute Details
#base_slide ⇒ Object
Returns the value of attribute base_slide.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def @base_slide end |
#body ⇒ Object
Returns the value of attribute body.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def body @body end |
#body_showing ⇒ Object
Returns the value of attribute body_showing.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def body_showing @body_showing end |
#document ⇒ Object
Returns the value of attribute document.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def document @document end |
#presenter_notes ⇒ Object
Returns the value of attribute presenter_notes.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def presenter_notes @presenter_notes end |
#skipped ⇒ Object
Returns the value of attribute skipped.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def skipped @skipped end |
#slide_number ⇒ Object
Returns the value of attribute slide_number.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def @slide_number end |
#title ⇒ Object
Returns the value of attribute title.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def title @title end |
#title_showing ⇒ Object
Returns the value of attribute title_showing.
8 9 10 |
# File 'lib/keynote/slide.rb', line 8 def title_showing @title_showing end |