class App::Opt

Constants

BLUFIN
OPT_PATH
OPT_PATH_SQL
OPT_PATH_YML

Public Class Methods

get_base_path() click to toggle source

Get PATH to assets, scripts, etc. @return String

# File lib/core/opt.rb, line 13
def self.get_base_path
    base_path = File.dirname(File.expand_path(__FILE__))
    base_path = base_path.gsub(/\/\w+\/\w+\z/i, '')
    base_path
end