lib/backup_repos/config.rb in backup_repos-0.2.0 vs lib/backup_repos/config.rb in backup_repos-0.2.1

- old
+ new

@@ -26,10 +26,14 @@ end # === def method_missing(name, *_args) - options.send(name) || config[name.to_s] + options.send(name) || config[name.to_s] || super + end + + def respond_to_missing?(name, include_private = false) + options.respond_to?(name) || config.key?(name.to_s) || super end def config_file File.join(Dir.home, '.backup-repos') end