Class: Hiera::Backend::Eyaml::Parser::NonMatchToken
- Defined in:
- lib/hiera/backend/eyaml/parser/token.rb
Instance Attribute Summary
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(non_match) ⇒ NonMatchToken
constructor
A new instance of NonMatchToken.
- #to_decrypted(_args = {}) ⇒ Object
- #to_encrypted(_args = {}) ⇒ Object
- #to_plain_text ⇒ Object
Methods inherited from Token
Constructor Details
#initialize(non_match) ⇒ NonMatchToken
Returns a new instance of NonMatchToken.
39 40 41 |
# File 'lib/hiera/backend/eyaml/parser/token.rb', line 39 def initialize(non_match) super end |
Instance Method Details
#to_decrypted(_args = {}) ⇒ Object
47 48 49 |
# File 'lib/hiera/backend/eyaml/parser/token.rb', line 47 def to_decrypted(_args = {}) @match end |
#to_encrypted(_args = {}) ⇒ Object
43 44 45 |
# File 'lib/hiera/backend/eyaml/parser/token.rb', line 43 def to_encrypted(_args = {}) @match end |
#to_plain_text ⇒ Object
51 52 53 |
# File 'lib/hiera/backend/eyaml/parser/token.rb', line 51 def to_plain_text @match end |