Module: Stats

Included in:
RJR
Defined in:
lib/stats/stat.rb,
lib/stats/rjr/init.rb,
lib/stats/registry.rb

Defined Under Namespace

Modules: RJR Classes: Stat, StatResult

Constant Summary collapse

STATISTICS =
[universe_id, num_of, users_with_most, users_with_least, systems_with_most]

Class Method Summary collapse

Class Method Details

.get_stat(id) ⇒ Object


206
207
208
# File 'lib/stats/registry.rb', line 206

def  self.get_stat(id)
  STATISTICS.find { |s| s.id.to_s == id.to_s}
end