Method: Obfuscate.cryptor

Defined in:
lib/obfuscate.rb

.cryptor(options = {}) ⇒ Obfuscate::Crypt

Create instance of Obfuscate::Crypt. Depends on Obfuscate.setup to be called first

Parameters:

  • overrides (Hash)

    how instance should be created

Returns:



47
48
49
# File 'lib/obfuscate.rb', line 47

def cryptor(options = {} )
  Obfuscate::Crypt.new( @config.apply( options ) )
end