Class: Travis::Encrypt::Decryptor
- Defined in:
- lib/travis/encrypt/decryptor.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#add_iv, #create_aes, #create_iv, #decode, #encode, #extract_iv, #initialize
Constructor Details
This class inherits a constructor from Travis::Encrypt::Base
Instance Method Details
#apply ⇒ Object
10 11 12 |
# File 'lib/travis/encrypt/decryptor.rb', line 10 def apply apply? ? decrypt : string end |
#apply? ⇒ Boolean
6 7 8 |
# File 'lib/travis/encrypt/decryptor.rb', line 6 def apply? string && (!use_prefix? || prefix_used?) end |