Method: RubyToAnsiC#process_or

Defined in:
lib/ruby_to_ansi_c.rb

#process_or(exp) ⇒ Object

Logical or. Nothing exciting here



611
612
613
614
615
616
# File 'lib/ruby_to_ansi_c.rb', line 611

def process_or(exp)
  lhs = process exp.shift
  rhs = process exp.shift

  return "#{lhs} || #{rhs}"
end