Class: Blufin::Base
- Inherits:
-
Object
- Object
- Blufin::Base
- Defined in:
- lib/core/base.rb
Constant Summary collapse
- OPT_PATH =
'/opt'
Class Method Summary collapse
-
.get_base_path ⇒ Object
Get PATH to opt files.
Class Method Details
.get_base_path ⇒ Object
Get PATH to opt files.
9 10 11 12 13 |
# File 'lib/core/base.rb', line 9 def self.get_base_path base_path = File.dirname(File.(__FILE__)) base_path = base_path.gsub(/\/\w+\/\w+\z/i, '') base_path end |