Method: Config.setup

Defined in:
lib/config.rb

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Config)

    the object that the method was called on



36
37
38
39
# File 'lib/config.rb', line 36

def self.setup
  yield self unless @_ran_once
  @_ran_once = true
end