TruffleRuby also reads the RUBYOPT environment variable, as in standard Rubyopt RUBYOPT environment variable (default: enabled)įreeze all string literals (default: disabled) help show this message, -h for short messageĭid_you_mean did_you_mean (default: enabled) version print the version number, then exit verbose turn on verbose mode and disable script from stdin Specify the default external or internal character encoding external-encoding=encoding, -internal-encoding=encoding x strip off text before #!ruby line and perhaps cd to directory Set warning level 0=silence, 1=medium, 2=verbose v print the version number, then turn on verbose mode S look for the script using PATH environment variable s enable some switch parsing for switches after script name rlibrary require the library before executing your script p assume loop like -n but print line also like sed Idirectory specify $LOAD_PATH directory (may be used more than once) i edit ARGV files in place (make backup if extension supplied) Fpattern split() pattern for autosplit (-a) Specify the default external and internal character encodings d, -debug set debugging flags (set $DEBUG to true) Cdirectory cd to directory before executing your script a autosplit mode with -n or -p (splits $_ into $F) 0 specify record separator (\0, if no argument) TruffleRuby has the same command-line interface as our compatible MRI version. JavaScript must be enabled to correctly display this content
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |