Module: Goliath

Defined in:
lib/boot.rb

Constant Summary collapse

ROOT_DIR =
File.expand_path(File.join(File.dirname(__FILE__), '..'))

Class Method Summary collapse

Class Method Details

.root_path(*dirs) ⇒ Object

[View source]

4
5
6
# File 'lib/boot.rb', line 4

def self.root_path *dirs
  File.join(Goliath::ROOT_DIR, *dirs)
end