lib/armoire.rb in armoire-1.3.0 vs lib/armoire.rb in armoire-1.4.0

- old
+ new

@@ -27,9 +27,13 @@ def self.environment=(environment) instance.environment = environment end + def self.environment + instance.environment + end + def environment @environment ||= ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' end def load_settings(path_to_config_file)