Class: Md2key::Nodes::Slide
- Inherits:
-
Struct
- Object
- Struct
- Md2key::Nodes::Slide
- Defined in:
- lib/md2key/nodes/slide.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#image ⇒ Object
Returns the value of attribute image.
-
#level ⇒ Object
Returns the value of attribute level.
-
#lines ⇒ Object
Returns the value of attribute lines.
-
#note ⇒ Object
Returns the value of attribute note.
-
#table ⇒ Object
Returns the value of attribute table.
-
#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.
4 5 6 7 |
# File 'lib/md2key/nodes/slide.rb', line 4 def initialize(*) super self.lines ||= [] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def code @code end |
#image ⇒ Object
Returns the value of attribute image
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def image @image end |
#level ⇒ Object
Returns the value of attribute level
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def level @level end |
#lines ⇒ Object
Returns the value of attribute lines
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def lines @lines end |
#note ⇒ Object
Returns the value of attribute note
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def note @note end |
#table ⇒ Object
Returns the value of attribute table
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def table @table end |
#title ⇒ Object
Returns the value of attribute title
3 4 5 |
# File 'lib/md2key/nodes/slide.rb', line 3 def title @title end |