def if_else( action1, action2 )
      @function << "#{@function.indent}if ( #{self} ) {\n"
      @function.indent_offset +1
      action1.call
      @function.indent_offset -1
      @function << "#{@function.indent}} else {\n"
      @function.indent_offset +1
      action2.call
      @function.indent_offset -1
      @function << "#{@function.indent}};\n"
      self
    end
def if_else( action1, action2 )
      @function << "#{@function.indent}if ( #{self} ) {\n"
      @function.indent_offset +1
      action1.call
      @function.indent_offset -1
      @function << "#{@function.indent}} else {\n"
      @function.indent_offset +1
      action2.call
      @function.indent_offset -1
      @function << "#{@function.indent}};\n"
      self
    end
Generate code for conditional statement

 @param [Proc] action1 Block to run when condition is fullfilled.
 @param [Proc] action2 Block to run otherwise.

 @return [Object] Returns +self+.

 @private