Class: Guardrails::Tokens::Drift

Inherits:
Struct
  • Object
show all
Defined in:
lib/guardrails/tokens.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



11
12
13
# File 'lib/guardrails/tokens.rb', line 11

def column
  @column
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



11
12
13
# File 'lib/guardrails/tokens.rb', line 11

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



11
12
13
# File 'lib/guardrails/tokens.rb', line 11

def line
  @line
end

#matched_tokenObject

Returns the value of attribute matched_token

Returns:

  • (Object)

    the current value of matched_token



11
12
13
# File 'lib/guardrails/tokens.rb', line 11

def matched_token
  @matched_token
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



11
12
13
# File 'lib/guardrails/tokens.rb', line 11

def value
  @value
end