Method: God::Conditions::Complex#and

Defined in:
lib/god/conditions/complex.rb

#and(kind) {|oper| ... } ⇒ Object

Yields:

  • (oper)


38
39
40
41
# File 'lib/god/conditions/complex.rb', line 38

def and(kind)
  oper = new_oper(kind, 0x1)
  yield oper if block_given?
end