class Aruba::InConfigWrapper
@private
configuration option from with ‘Aruba::Config`.
Used to make the configuration read only if one needs to access an
In config wrapper
def initialize(config)
def initialize(config) @config = config.dup end
def method_missing(name, *args)
def method_missing(name, *args) if config.key? name raise ArgumentError, "Options take no argument" if args.any? config[name] else super end end
def respond_to_missing?(name, _include_private)
def respond_to_missing?(name, _include_private) config.key? name end