-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
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'
Metadata
Metadata
Assignees
Labels
No labels