来源:https://stackoverflow.com/questions/8621722/unit-testing-a-ruby-command-line-applications-code-how-to-simulate-pass-argv 标签 ruby testing command-line gem thor