Method: Volt.root

Defined in:
lib/volt.rb

.rootObject



26
27
28
29
# File 'lib/volt.rb', line 26

def root
  fail 'Volt.root can not be called from the client.' if self.client?
  @root ||= File.expand_path(Dir.pwd)
end