Module: Tb::Func::Count
- Defined in:
- lib/tb/func.rb
Class Method Summary collapse
Class Method Details
.aggregate(count) ⇒ Object
77 |
# File 'lib/tb/func.rb', line 77 def Count.aggregate(count) count end |
.call(v1, v2) ⇒ Object
76 |
# File 'lib/tb/func.rb', line 76 def Count.call(v1, v2) v1 + v2 end |
.start(value) ⇒ Object
75 |
# File 'lib/tb/func.rb', line 75 def Count.start(value) 1 end |