Method: Boxen::Config#initialize

Defined in:
lib/boxen/config.rb

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

Create a new instance. Yields ‘self` if `block` is given.

Yields:

  • (_self)

Yield Parameters:

  • _self (Boxen::Config)

    the object that the method was called on



87
88
89
90
91
92
# File 'lib/boxen/config.rb', line 87

def initialize(&block)
  @fde  = true
  @pull = true

  yield self if block_given?
end