class Seahorse::Client::Plugin::PluginOption
@api private
def doc_default(options)
def doc_default(options) if @doc_default.nil? && !default.is_a?(Proc) default else @doc_default.respond_to?(:call) ? @doc_default.call(options) : @doc_default end end
def documented?
def documented? !!docstring end
def initialize(name, options = {})
def initialize(name, options = {}) @name = name @doc_default = nil options.each_pair do |opt_name, opt_value| self.send("#{opt_name}=", opt_value) end end