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 15
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 21
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 18
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 24
def to_plain_text
  raise 'Abstract method called'
end
to_s() click to toggle source
# File lib/hiera/backend/eyaml/parser/token.rb, line 27
def to_s
  "#{self.class.name}:#{@match}"
end