This library is called opn. It will simply output the name of the class. Optionally, you can assign another namespace to report with. For an explanation, just look at the few examples under the test/ directory. Why did I write it? I wrote many different ruby classes, and sometimes they will report information to me, but I don't know which file wrote this. So I wanted to simply have output prefaced with the name of the class in question, optionally to be colourized as well, since that helps me on the commandline. The name "opn" stands for "output program name". Version 1.0.2 now has a proper module, called Opn, and Opn has only one method called opn().
Copy to clipboard
- 1.0.59 - February 07, 2023 (9 KB)
- 1.0.58 - September 07, 2022 (8,5 KB)
- 1.0.57 - August 15, 2021 (8,5 KB)