Module: Tb::Func::UniqueValues
- Defined in:
- lib/tb/func.rb
Class Method Summary collapse
Class Method Details
.aggregate(hash) ⇒ Object
117 |
# File 'lib/tb/func.rb', line 117 def UniqueValues.aggregate(hash) hash.keys.join(',') end |
.call(h1, h2) ⇒ Object
116 |
# File 'lib/tb/func.rb', line 116 def UniqueValues.call(h1, h2) h1.update h2 end |
.start(value) ⇒ Object
115 |
# File 'lib/tb/func.rb', line 115 def UniqueValues.start(value) value.nil? ? {} : {value => true} end |