class Configru::StructHash
Public Instance Methods
method_missing(key, *args)
click to toggle source
Calls superclass method
# File lib/configru/structhash.rb, line 3 def method_missing(key, *args) # Raise NoMethodError if the key does not exist super(key, *args) unless args.empty? && self.include?(key.to_s) self[key.to_s] end