Class: Longjing::Search::Statistics

Inherits:
Object
  • Object
show all
Defined in:
lib/longjing/search/statistics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStatistics

Returns a new instance of Statistics.



5
6
7
# File 'lib/longjing/search/statistics.rb', line 5

def initialize
  @generated, @expanded, @evaluated = 0, 0, 0
end

Instance Attribute Details

#evaluatedObject

Returns the value of attribute evaluated.



4
5
6
# File 'lib/longjing/search/statistics.rb', line 4

def evaluated
  @evaluated
end

#expandedObject

Returns the value of attribute expanded.



4
5
6
# File 'lib/longjing/search/statistics.rb', line 4

def expanded
  @expanded
end

#generatedObject

Returns the value of attribute generated.



4
5
6
# File 'lib/longjing/search/statistics.rb', line 4

def generated
  @generated
end