Class: Nezu::Root
- Inherits:
-
String
- Object
- String
- Nezu::Root
- Defined in:
- lib/nezu.rb
Constant Summary collapse
- APP_PATH =
self.new(File.(Dir.pwd))
- GEM_PATH =
self.new(File.(File.join(File.dirname(__FILE__), '..')))
Instance Method Summary collapse
-
#join(*params) ⇒ Object
you can do Nezu.root.join(‘path’, ‘to’, ‘your’, ‘stuff’) and get the absolute path of your stuff.
Instance Method Details
#join(*params) ⇒ Object
you can do Nezu.root.join(‘path’, ‘to’, ‘your’, ‘stuff’) and get the absolute path of your stuff
39 40 41 |
# File 'lib/nezu.rb', line 39 def join(*params) File.join(self, params) end |