Class: Longjing::Search::Statistics
- Inherits:
-
Object
- Object
- Longjing::Search::Statistics
- Defined in:
- lib/longjing/search/statistics.rb
Instance Attribute Summary collapse
-
#evaluated ⇒ Object
Returns the value of attribute evaluated.
-
#expanded ⇒ Object
Returns the value of attribute expanded.
-
#generated ⇒ Object
Returns the value of attribute generated.
Instance Method Summary collapse
-
#initialize ⇒ Statistics
constructor
A new instance of Statistics.
Constructor Details
#initialize ⇒ Statistics
Returns a new instance of Statistics.
5 6 7 |
# File 'lib/longjing/search/statistics.rb', line 5 def initialize @generated, , @evaluated = 0, 0, 0 end |
Instance Attribute Details
#evaluated ⇒ Object
Returns the value of attribute evaluated.
4 5 6 |
# File 'lib/longjing/search/statistics.rb', line 4 def evaluated @evaluated end |
#expanded ⇒ Object
Returns the value of attribute expanded.
4 5 6 |
# File 'lib/longjing/search/statistics.rb', line 4 def end |
#generated ⇒ Object
Returns the value of attribute generated.
4 5 6 |
# File 'lib/longjing/search/statistics.rb', line 4 def generated @generated end |