Class: Textbringer::Presentation::Slide

Inherits:
Object
  • Object
show all
Defined in:
lib/textbringer/presentation/slide_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



6
7
8
# File 'lib/textbringer/presentation/slide_list.rb', line 6

def body
  @body
end

#numberObject (readonly)

Returns the value of attribute number.



6
7
8
# File 'lib/textbringer/presentation/slide_list.rb', line 6

def number
  @number
end

#titleObject (readonly)

Returns the value of attribute title.



6
7
8
# File 'lib/textbringer/presentation/slide_list.rb', line 6

def title
  @title
end