Class: App::Opt
- Inherits:
-
Object
- Object
- App::Opt
- Defined in:
- lib/core/opt.rb
Constant Summary collapse
- BLUFIN =
'blufin'
- OPT_PATH =
'/opt'
- OPT_PATH_SQL =
'/opt/sql'
- OPT_PATH_YML =
'/opt/yml'
Class Method Summary collapse
-
.get_base_path ⇒ Object
Get PATH to assets, scripts, etc.
Class Method Details
.get_base_path ⇒ Object
Get PATH to assets, scripts, etc.
13 14 15 16 17 |
# File 'lib/core/opt.rb', line 13 def self.get_base_path base_path = File.dirname(File.(__FILE__)) base_path = base_path.gsub(/\/\w+\/\w+\z/i, '') base_path end |