Class: Nesta::Path

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

Class Method Summary collapse

Class Method Details

.local(*args) ⇒ Object



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

def self.local(*args)
  File.expand_path(File.join(args), Nesta::App.root)
end

.themes(*args) ⇒ Object



7
8
9
# File 'lib/nesta/path.rb', line 7

def self.themes(*args)
  File.expand_path(File.join('themes', *args), Nesta::App.root)
end