Class: Genit::Compiler
- Inherits:
-
Object
- Object
- Genit::Compiler
- Defined in:
- lib/genit/project/compiler.rb
Overview
Web site “compiler”.
Instance Method Summary collapse
-
#compile ⇒ Object
Public: Compile the web site.
-
#initialize(working_dir) ⇒ Compiler
constructor
Public: Constructor.
Constructor Details
#initialize(working_dir) ⇒ Compiler
Public: Constructor.
working_dir - The String working directory, where live the project.
11 12 13 14 15 |
# File 'lib/genit/project/compiler.rb', line 11 def initialize working_dir @working_dir = working_dir check_missing_file '.genit', 'Not a genit project folder' check_missing_file 'config', 'Missing config file' end |