Class: Bud::BooleanAnd

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

#trans(the_state, val) ⇒ Object



72
73
74
75
76
77
78
# File 'lib/bud/aggs.rb', line 72

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