Class: Hiera::Backend::Eyaml::Parser::TokenType

Inherits:
Object
  • Object
show all
Defined in:
lib/hiera/backend/eyaml/parser/token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#regexObject (readonly)

Returns the value of attribute regex.



6
7
8
# File 'lib/hiera/backend/eyaml/parser/token.rb', line 6

def regex
  @regex
end

Instance Method Details

#create_token(_string) ⇒ Object



9
10
11
# File 'lib/hiera/backend/eyaml/parser/token.rb', line 9

def create_token(_string)
  raise 'Abstract method called'
end