Module: Vitae

Defined in:
lib/vitae.rb,
lib/vitae/cli.rb,
lib/vitae/version.rb,
lib/vitae/ordered_hash.rb

Defined Under Namespace

Modules: Delegators, HashExtensions, Nodes Classes: CLI, OrderedHash

Constant Summary collapse

VERSION =
"0.2.1"
@@project_root =
nil

Class Method Summary collapse

Class Method Details

.project_rootObject



5
6
7
# File 'lib/vitae.rb', line 5

def self.project_root
  @@project_root
end

.project_root=(root) ⇒ Object



9
10
11
12
# File 'lib/vitae.rb', line 9

def self.project_root= root
  Server.set :public_folder, File.join(root, "themes") if root && defined?(Server)
  @@project_root = root
end