class Hiera::Backend::Eyaml::Parser::Token

Attributes

match[R]

Public Class Methods

new(match) click to toggle source
# File lib/hiera/backend/eyaml/parser/token.rb, line 17
def initialize(match)
  @match = match
end

Public Instance Methods

to_decrypted(_args = {}) click to toggle source
# File lib/hiera/backend/eyaml/parser/token.rb, line 25
def to_decrypted(_args = {})
  raise 'Abstract method called'
end
to_encrypted(_args = {}) click to toggle source
# File lib/hiera/backend/eyaml/parser/token.rb, line 21
def to_encrypted(_args = {})
  raise 'Abstract method called'
end
to_plain_text() click to toggle source
# File lib/hiera/backend/eyaml/parser/token.rb, line 29
def to_plain_text
  raise 'Abstract method called'
end
to_s() click to toggle source
# File lib/hiera/backend/eyaml/parser/token.rb, line 33
def to_s
  "#{self.class.name}:#{@match}"
end