lib/evertils/config.rb in evertils-1.0.12 vs lib/evertils/config.rb in evertils-2.0.0
- old
+ new
@@ -45,12 +45,10 @@
end
# Populates the internal hash which stores any values set in the config file
def populate_config
file = File.expand_path("~/.evertils/config.yml")
- fmt = Evertils::Helper.load('Formatting')
-
- @yml = fmt.symbolize(::YAML.load_file(file))
+ @yml = symbolize_keys(::YAML.load_file(file))
set_evertils_token
self
end
\ No newline at end of file