Class: Bud::BooleanOr

Inherits:
ArgExemplary show all
Defined in:
lib/bud/aggs.rb

Overview

:nodoc: all

Instance Method Summary (collapse)

Methods inherited from ArgExemplary

#final, #tie

Methods inherited from Agg

#final, #init

Instance Method Details

- (Object) trans(the_state, val)



86
87
88
89
90
91
92
# File 'lib/bud/aggs.rb', line 86

def trans(the_state, val)
  if val == true
    return val, :replace
  else
    return the_state, :ignore
  end
end