![用ruby编写标准计算器](https://i-blog.csdnimg.cn/blog_migrate/8c9bcfc26de37bf035cd0d2353ca8cef.png)
用ruby编写标准计算器
I always thought WatirMaker was a pretty good idea. It was meant not as a recorder, per se, but rather as a "faster typer."
我一直认为WatirMaker是个不错的主意。 它本身并不是要作为记录器,而是要作为“更快的打字机”。
I use it to jump start spikes like my recent Vonage script. If I wrote Watir often enough I'd just use the Ruby interactive shell.
我用它来启动像我最近的Vonage脚本一样的峰值。 如果我经常写Watir,那么我将只使用Ruby交互式shell。
(By the way, if you have 15 minutes - maybe it's lunch - visit here: http://tryruby.hobix.com/ and try Ruby out, guilt- and install-free, in your browser.)
(顺便说一句,如果您有15分钟的时间-也许是午餐时间-请访问此处: http : //tryruby.hobix.com/,并在浏览器中尝试Ruby,无罪且无安装。)
After I did WatirMaker in C#, Michael Kelly and John Hann wrote it again in native Ruby with the tiniest bit of help from me early on. It's rockin' sweet IMHO.
我在C#中做WatirMaker后,迈克尔·凯利和约翰·汉恩又在本地Ruby与从我的帮助哪怕一丁点早期写的。 真是甜蜜的恕我直言。
You can run it by simply running "ruby watirmaker.rb" from the command-line or by redirecting to a file "ruby watirmaker.rb > myscript.rb."
您可以通过从命令行简单运行“ ruby watirmaker.rb ”或重定向到文件“ ruby watirmaker.rb> myscript.rb ”来运行它。
John emailed me and said that he and Michael are going to look for a permanent home for this, but until then it's here.
约翰给我发了电子邮件,说他和迈克尔将为此目的寻找一个永久的住所,但是直到那时它才在这里。
翻译自: https://www.hanselman.com/blog/watirmaker-written-again-in-ruby
用ruby编写标准计算器