You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I have a value set for a
configatron.init do |init|
init.defaults.configure_from_hash (config: {file: './config.yml'})
end
configatron.init.defaults.config.file.has_key?(:exist)
When the value exists gives an error
block in initialize': undefined method has_key?' for "./config.yml":String (NoMethodError) from gems/ruby-2.3.1/gems/configatron-4.5.1/lib/configatron/store.rb:151:in do_lookup'
from gems/ruby-2.3.1/gems/configatron-4.5.1/lib/configatron/store.rb:126:in method_missing' from gems/ruby-2.3.1/gems/configatron-4.5.1/lib/configatron/root_store.rb:54:in method_missing'
The text was updated successfully, but these errors were encountered:
if I have a value set for a
configatron.init do |init|
init.defaults.configure_from_hash (config: {file: './config.yml'})
end
configatron.init.defaults.config.file.has_key?(:exist)
When the value exists gives an error
block in initialize': undefined method
has_key?' for "./config.yml":String (NoMethodError) from gems/ruby-2.3.1/gems/configatron-4.5.1/lib/configatron/store.rb:151:in
do_lookup'from gems/ruby-2.3.1/gems/configatron-4.5.1/lib/configatron/store.rb:126:in
method_missing' from gems/ruby-2.3.1/gems/configatron-4.5.1/lib/configatron/root_store.rb:54:in
method_missing'The text was updated successfully, but these errors were encountered: