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



80
81
82
83
84
85
# File 'lib/boxen/config.rb', line 80

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

  yield self if block_given?
end