Class: Fuzzy::Scorer::Token

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

Instance Attribute Summary collapse

Instance Attribute Details

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



5
6
7
# File 'lib/fuzzy.rb', line 5

def token
  @token
end

#weightObject

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



5
6
7
# File 'lib/fuzzy.rb', line 5

def weight
  @weight
end