Class: Ibrain::Aggregate

Inherits:
Object
  • Object
show all
Defined in:
app/models/ibrain/aggregate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count) ⇒ Aggregate

Returns a new instance of Aggregate.



5
6
7
# File 'app/models/ibrain/aggregate.rb', line 5

def initialize(count)
  @count = count
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



9
10
11
# File 'app/models/ibrain/aggregate.rb', line 9

def count
  @count
end