Class: RhetButler::HTMLGenerator::Presentation

Inherits:
Object
  • Object
show all
Defined in:
lib/rhet-butler/html-generator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ Presentation

Returns a new instance of Presentation.



7
8
9
10
11
# File 'lib/rhet-butler/html-generator.rb', line 7

def initialize(configuration)
  @author_name = configuration.author
  @title = configuration.title
  @description = configuration.description
end

Instance Attribute Details

#author_nameObject

Returns the value of attribute author_name.



13
14
15
# File 'lib/rhet-butler/html-generator.rb', line 13

def author_name
  @author_name
end

#descriptionObject

Returns the value of attribute description.



13
14
15
# File 'lib/rhet-butler/html-generator.rb', line 13

def description
  @description
end

#titleObject

Returns the value of attribute title.



13
14
15
# File 'lib/rhet-butler/html-generator.rb', line 13

def title
  @title
end