Class: SmashingDocs::Conf

Inherits:
Object
  • Object
show all
Defined in:
lib/conf.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.auto_pushObject

Returns the value of attribute auto_push.



3
4
5
# File 'lib/conf.rb', line 3

def auto_push
  @auto_push
end

.output_fileObject

Returns the value of attribute output_file.



3
4
5
# File 'lib/conf.rb', line 3

def output_file
  @output_file
end

.run_allObject

Returns the value of attribute run_all.



3
4
5
# File 'lib/conf.rb', line 3

def run_all
  @run_all
end

.template_fileObject

Returns the value of attribute template_file.



3
4
5
# File 'lib/conf.rb', line 3

def template_file
  @template_file
end

.wiki_folderObject

Returns the value of attribute wiki_folder.



3
4
5
# File 'lib/conf.rb', line 3

def wiki_folder
  @wiki_folder
end

Class Method Details

.run_all_testsObject



11
12
13
# File 'lib/conf.rb', line 11

def run_all_tests
  run_all
end

.templateObject



6
7
8
9
# File 'lib/conf.rb', line 6

def template
  raise 'You must set a template file.' unless template_file
  File.read(template_file)
end