rubyconfig / config

Easiest way to add multi-environment yaml settings to Rails, Sinatra, Padrino and other Ruby projects.
Other
2.11k stars 231 forks source link

fix: remove deprecated method 'exists?' removed in ruby 3.0 #318

Closed danilogco closed 1 year ago

danilogco commented 2 years ago

It alllows to use the gem in a project based on Ruby > 2.7. The changed method doesn't exist anymore.

pkuczynski commented 2 years ago

How would that affect earlier versions of ruby?

danilogco commented 2 years ago

How would that affect earlier versions of ruby?

The method ".exists?" is deprecated since the ruby 2.2.0 and it was removed in the most recent versions.