class ComplexConfig::Config

def add_plugin(code)

Returns:
  • (self) - Returns self for chaining

Parameters:
  • code (Proc) -- The plugin code to add
def add_plugin(code)
  plugins << code
  self
end