method

set_option

ruby latest stable - Class: ParseError

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

set_option(opt, eq)
public

No documentation available.

# File lib/optparse.rb, line 1615
    def set_option(opt, eq)
      if eq
        @args[0] = opt
      else
        @args.unshift(opt)
      end
      self
    end