Class: OmniAuth::KeyStore
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- OmniAuth::KeyStore
- Defined in:
- lib/omniauth/key_store.rb
Overview
Generic helper hash that allows method access on deeply nested keys.
Direct Known Subclasses
Class Method Summary collapse
-
.override_logging ⇒ Object
Disables warnings on Hashie 3.5.0+ for overwritten keys.
Class Method Details
.override_logging ⇒ Object
Disables warnings on Hashie 3.5.0+ for overwritten keys
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/omniauth/key_store.rb', line 7 def self.override_logging require 'hashie/version' return unless Gem::Version.new(Hashie::VERSION) >= Gem::Version.new('3.5.0') if respond_to?(:disable_warnings) disable_warnings else define_method(:log_built_in_message) { |*| } private :log_built_in_message end end |