Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/secure_conf/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#sc_decrypt(sc = SecureConf.default) ⇒ Object



6
7
8
# File 'lib/secure_conf/core_ext/string.rb', line 6

def sc_decrypt(sc=SecureConf.default)
  sc.decrypt(self)
end

#sc_encrypt(sc = SecureConf.default) ⇒ Object



2
3
4
# File 'lib/secure_conf/core_ext/string.rb', line 2

def sc_encrypt(sc=SecureConf.default)
  sc.encrypt(self)
end