Class: Textbringer::Presentation::Slide
- Inherits:
-
Object
- Object
- Textbringer::Presentation::Slide
- Defined in:
- lib/textbringer/presentation/slide_list.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(number, title, body) ⇒ Slide
constructor
A new instance of Slide.
Constructor Details
#initialize(number, title, body) ⇒ Slide
Returns a new instance of Slide.
8 9 10 11 12 |
# File 'lib/textbringer/presentation/slide_list.rb', line 8 def initialize(number, title, body) @number = number @title = title @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
6 7 8 |
# File 'lib/textbringer/presentation/slide_list.rb', line 6 def body @body end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
6 7 8 |
# File 'lib/textbringer/presentation/slide_list.rb', line 6 def number @number end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
6 7 8 |
# File 'lib/textbringer/presentation/slide_list.rb', line 6 def title @title end |