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



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

def create_token string
  raise 'Abstract method called'
end