Method: Wixy::Config#initialize

Defined in:
lib/wixy/config.rb

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

Returns a new instance of Config.

Yields:

  • (_self)

Yield Parameters:

  • _self (Wixy::Config)

    the object that the method was called on



8
9
10
11
12
13
14
# File 'lib/wixy/config.rb', line 8

def initialize
  @cipher = :caesar
  @shift = 3
  @key = "FORTIFICATION"
  @preserve = false
  yield self if block_given?
end