Method: Yasd::Config#initialize

Defined in:
lib/yasd/config.rb

#initialize {|_self| ... } ⇒ Config

Returns a new instance of Config.

Yields:

  • (_self)

Yield Parameters:

  • _self (Yasd::Config)

    the object that the method was called on



9
10
11
# File 'lib/yasd/config.rb', line 9

def initialize
  yield(self) if block_given?
end