Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module MyGem
- class Configuration
- end
- def self.const_missing(const_name)
- super unless const_name == :Config
- warn "`MyGem::Config` has been deprecated. Use `MyGem::Configuration` instead."
- Configuration
- end
- end
Add Comment
Please, Sign In to add comment