Module: Tb::Func::Values

Defined in:
lib/tb/func.rb

Class Method Summary collapse

Class Method Details

.aggregate(ary) ⇒ Object



112
# File 'lib/tb/func.rb', line 112

def Values.aggregate(ary) ary.join(',') end

.call(a1, a2) ⇒ Object



111
# File 'lib/tb/func.rb', line 111

def Values.call(a1, a2) a1.concat a2 end

.start(value) ⇒ Object



110
# File 'lib/tb/func.rb', line 110

def Values.start(value) value.nil? ? [] : [value] end