Class: Optitron::Tokenizer::NamedWithValue

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

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


11
12
13
# File 'lib/optitron/tokenizer.rb', line 11

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value


11
12
13
# File 'lib/optitron/tokenizer.rb', line 11

def value
  @value
end