class Seahorse::Client::Configuration
def add_option(name, default = nil, &block)
-
(self)-
Parameters:
-
default() -- The default value for this option. You can specify -
name(Symbol) -- The name of the configuration option. This will
def add_option(name, default = nil, &block) default = DynamicDefault.new(Proc.new) if block_given? @defaults[name.to_sym] << default self end