Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/ada_truthy/logical_gates/logical_gate_extension.rb

Instance Method Summary collapse

Instance Method Details

#and(b, *others) ⇒ Object



74
75
76
# File 'lib/ada_truthy/logical_gates/logical_gate_extension.rb', line 74

def and(b, *others)
  LogicalGate.and self, b, others
end

#notObject



66
67
68
# File 'lib/ada_truthy/logical_gates/logical_gate_extension.rb', line 66

def not
  LogicalGate.not self
end

#or(b, *others) ⇒ Object



70
71
72
# File 'lib/ada_truthy/logical_gates/logical_gate_extension.rb', line 70

def or(b, *others)
  LogicalGate.or self, b, others
end