Argument parsing for ruby