OptionParser::getopts

e$B$o$?$J$Y$G$9!#e(B

OptionParser::getoptse$B$NB8:_$r:#F|=i$a$FCN$C$?$s$G$9$,!"5sF0$,JQ$G$9!#e(B

% ruby-1.8.5 -roptparse -e ‘p OptionParser.getopts(ARGV, “ab”)’ – -a -b
{“a”=>false, “b”=>false, :a=>true, :b=>true}

e$B$J$s$Ge(Bfalsee$B$J$s$G$7$g$&!)e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs