Class: Haas::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/haas/config.rb

Constant Summary collapse

WORKING_DIR =
File.join(File.expand_path('~'), '.haas')
SQLITE_DB =

create sqlite db in memory ############

ENV['SQLITE_DB'] || File.join(Haas::Config::WORKING_DIR,"haas_sqlite3.db")

Class Method Summary collapse

Class Method Details

.optionsObject



9
10
11
# File 'lib/haas/config.rb', line 9

def self.options
  @options
end

.set_options(options) ⇒ Object



5
6
7
# File 'lib/haas/config.rb', line 5

def self.set_options options
  @options = options
end