Class: Md2key::Slide

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSlide

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

#linesObject

Returns the value of attribute lines

Returns:

  • (Object)

    the current value of lines



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

def lines
  @lines
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



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

def title
  @title
end