开发者

How to test when creating Ruby gem?

开发者 https://www.devze.com 2023-01-20 03:04 出处:网络
I ammaking a gem, but how to test(not unit test, just make sure the program is right) it ? Need I pack it and run 开发者_Go百科every time when I modify it?You can create a rake task to open a new IRB

I am making a gem, but how to test(not unit test, just make sure the program is right) it ?

Need I pack it and run 开发者_Go百科every time when I modify it?


You can create a rake task to open a new IRB instance and play with your library. Here's the code.

0

精彩评论

暂无评论...
验证码 换一张
取 消