Class: URIPattern::Tokenizer::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/uri_pattern/tokenizer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



5
6
7
# File 'lib/uri_pattern/tokenizer.rb', line 5

def index
  @index
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/uri_pattern/tokenizer.rb', line 5

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/uri_pattern/tokenizer.rb', line 5

def value
  @value
end