Class: SoraGeocoding::ConfigurationHash

Inherits:
Hash
  • Object
show all
Includes:
HashRecursiveMerge
Defined in:
lib/sora_geocoding/configuration.rb

Instance Method Summary collapse

Methods included from HashRecursiveMerge

#rmerge, #rmerge!

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



8
9
10
# File 'lib/sora_geocoding/configuration.rb', line 8

def method_missing(method, *args, &block)
  key?(method) ? self[method] : super
end

Instance Method Details

#respond_to_missing?(method, include_private) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/sora_geocoding/configuration.rb', line 12

def respond_to_missing?(method, include_private)
  key?(method) ? true : super
end