Class: VinaryTree::Liblevenshtein::Match

Inherits:
Data
  • Object
show all
Defined in:
lib/vinary_tree/liblevenshtein.rb

Instance Attribute Summary collapse

Instance Attribute Details

#distanceObject (readonly)

Returns the value of attribute distance

Returns:

  • (Object)

    the current value of distance



34
35
36
# File 'lib/vinary_tree/liblevenshtein.rb', line 34

def distance
  @distance
end

#domainObject (readonly)

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



34
35
36
# File 'lib/vinary_tree/liblevenshtein.rb', line 34

def domain
  @domain
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



34
35
36
# File 'lib/vinary_tree/liblevenshtein.rb', line 34

def id
  @id
end

#termObject (readonly)

Returns the value of attribute term

Returns:

  • (Object)

    the current value of term



34
35
36
# File 'lib/vinary_tree/liblevenshtein.rb', line 34

def term
  @term
end