Require English - A Ruby Tip For Rubyists - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Require English - A Ruby Tip For Rubyists (784 Views)
1 Reply
| Require English - A Ruby Tip For Rubyists by harryobas(op): 7:58am On Jul 27, 2018 |
Howdy Did you know that Ruby puts the currently-processing exception into a global variable: $!? There are lots of cryptically-named globals. Fortunately we can make them use more sensible names by requiring the English module. Here are a few of the variables that the English module brings into scope. $ERROR_INFO $! $ERROR_POSITION $@ $FIELD_SEPARATOR $; $OFS $, $PROCESS_ID $$ $CHILD_STATUS $? $MATCH $& Happy Coding ![]()
|
I Need A Ruby Developer(paid) • A Guide On How To Build A Ruby On Rails API • Tip To Get Added To The ALX Room As A Fellow Without Stress • 2 • 3 • 4
Demystifying Redux Part 2 • NEWSLETTER POPUP PRO For Magento 2 • Opening for - Software Developers.
