Class: Md2key::Slide
- Inherits:
-
Struct
- Object
- Struct
- Md2key::Slide
- Defined in:
- lib/md2key/slide.rb
Instance Attribute Summary collapse
-
#lines ⇒ Object
Returns the value of attribute lines.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Slide
constructor
A new instance of Slide.
Constructor Details
#initialize ⇒ Slide
Returns a new instance of Slide.
3 4 5 6 |
# File 'lib/md2key/slide.rb', line 3 def initialize(*) super self.lines ||= [] end |
Instance Attribute Details
#lines ⇒ Object
Returns the value of attribute lines
2 3 4 |
# File 'lib/md2key/slide.rb', line 2 def lines @lines end |
#title ⇒ Object
Returns the value of attribute title
2 3 4 |
# File 'lib/md2key/slide.rb', line 2 def title @title end |