Class: Guardrails::Tokens::Token
- Inherits:
-
Struct
- Object
- Struct
- Guardrails::Tokens::Token
- Defined in:
- lib/guardrails/tokens.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#line ⇒ Object
Returns the value of attribute line.
-
#name ⇒ Object
Returns the value of attribute name.
-
#syntax ⇒ Object
Returns the value of attribute syntax.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file
10 11 12 |
# File 'lib/guardrails/tokens.rb', line 10 def file @file end |
#line ⇒ Object
Returns the value of attribute line
10 11 12 |
# File 'lib/guardrails/tokens.rb', line 10 def line @line end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/guardrails/tokens.rb', line 10 def name @name end |
#syntax ⇒ Object
Returns the value of attribute syntax
10 11 12 |
# File 'lib/guardrails/tokens.rb', line 10 def syntax @syntax end |
#value ⇒ Object
Returns the value of attribute value
10 11 12 |
# File 'lib/guardrails/tokens.rb', line 10 def value @value end |