Class: Values::Parser::Token
- Inherits:
-
Struct
- Object
- Struct
- Values::Parser::Token
show all
- Defined in:
- lib/csv11.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
18
19
20
|
# File 'lib/csv11.rb', line 18
def name
@name
end
|
#value ⇒ Object
Returns the value of attribute value
18
19
20
|
# File 'lib/csv11.rb', line 18
def value
@value
end
|
Instance Method Details
#quoted? ⇒ Boolean
20
|
# File 'lib/csv11.rb', line 20
def quoted?() name=='QUOTED'; end
|
#triple_quoted? ⇒ Boolean
21
|
# File 'lib/csv11.rb', line 21
def triple_quoted?() name=='TRIPLE_QUOTED'; end
|
#unquoted? ⇒ Boolean
19
|
# File 'lib/csv11.rb', line 19
def unquoted?() name=='UNQUOTED'; end
|