Sha256: 3879703bdeac8a9e2a2047b52545870e5183a0c8862c92974f00b22e237e42b0
Contents?: true
Size: 192 Bytes
Versions: 8
Compression:
Stored size: 192 Bytes
Contents
module Erlectricity class BooleanCondition < Condition def satisfies?(arg) [TrueClass, FalseClass].include?(arg.class) end def binding_for(arg) arg end end end
Version data entries
8 entries across 8 versions & 3 rubygems