Class: Guardrails::TokenMatcher::Match

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

Instance Attribute Summary collapse

Instance Attribute Details

#distanceObject

Returns the value of attribute distance

Returns:

  • (Object)

    the current value of distance



9
10
11
# File 'lib/guardrails/token_matcher.rb', line 9

def distance
  @distance
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



9
10
11
# File 'lib/guardrails/token_matcher.rb', line 9

def kind
  @kind
end

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



9
10
11
# File 'lib/guardrails/token_matcher.rb', line 9

def token
  @token
end