Method: App::UtilsTools.get_base_path
- Defined in:
- lib/core/utils_tools.rb
.get_base_path ⇒ Object
Get PATH to assets, scripts, etc.
15 16 17 18 19 |
# File 'lib/core/utils_tools.rb', line 15 def self.get_base_path base_path = File.dirname(File.(__FILE__)) base_path = base_path.gsub(/\/\w+\/\w+\z/i, '') base_path end |