Module: IronHammer::Configuration

Defined in:
lib/iron_hammer/configuration.rb

Class Method Summary collapse

Class Method Details

.homeObject



5
6
7
8
9
10
11
12
# File 'lib/iron_hammer/configuration.rb', line 5

def self.home
  return ENV['IRON_HAMMER_HOME'] if ENV['IRON_HAMMER_HOME']
  @home = File.join(ENV['USERPROFILE'], '.IronHammer')
  print_message
  generate_config

  @home
end