Class: Echowrap::Term

Inherits:
Base
  • Object
show all
Defined in:
lib/echowrap/term.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#==, attr_reader, #attrs, #initialize, #update

Constructor Details

This class inherits a constructor from Echowrap::Base

Instance Attribute Details

#frequencyObject (readonly)

Returns the value of attribute frequency.



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

def frequency
  @frequency
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#weightObject (readonly)

Returns the value of attribute weight.



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

def weight
  @weight
end