Class: Md2key::Nodes::Slide

Inherits:
Struct
  • Object
show all
Defined in:
lib/md2key/nodes/slide.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSlide

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

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def code
  @code
end

#imageObject

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def image
  @image
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def level
  @level
end

#linesObject

Returns the value of attribute lines

Returns:

  • (Object)

    the current value of lines



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def lines
  @lines
end

#noteObject

Returns the value of attribute note

Returns:

  • (Object)

    the current value of note



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def note
  @note
end

#tableObject

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def table
  @table
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



3
4
5
# File 'lib/md2key/nodes/slide.rb', line 3

def title
  @title
end