Class: SmashingDocs::Conf
- Inherits:
-
Object
- Object
- SmashingDocs::Conf
- Defined in:
- lib/conf.rb
Class Attribute Summary collapse
-
.output_file ⇒ Object
Returns the value of attribute output_file.
-
.template_file ⇒ Object
Returns the value of attribute template_file.
Class Method Summary collapse
Class Attribute Details
.output_file ⇒ Object
Returns the value of attribute output_file.
3 4 5 |
# File 'lib/conf.rb', line 3 def output_file @output_file end |
.template_file ⇒ Object
Returns the value of attribute template_file.
3 4 5 |
# File 'lib/conf.rb', line 3 def template_file @template_file end |
Class Method Details
.template ⇒ Object
7 8 9 10 |
# File 'lib/conf.rb', line 7 def template raise 'You must set a template file.' unless template_file @template ||= File.read(template_file) end |