class Seahorse::Client::Configuration

def add_option(name, default = nil, &block)

Returns:
  • (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(block) if block_given?
  @defaults[name.to_sym] << default
  self
end