Module: Laurel::Operator

Defined in:
lib/laurel/operator.rb

Instance Method Summary collapse

Instance Method Details

#!Object



12
13
14
# File 'lib/laurel/operator.rb', line 12

def !
	Laurel.not(self)
end

#&(other) ⇒ Object



4
5
6
# File 'lib/laurel/operator.rb', line 4

def & other
	Laurel.and(self, other)
end

#|(other) ⇒ Object



8
9
10
# File 'lib/laurel/operator.rb', line 8

def | other
	Laurel.or(self, other)
end