I wrote a script that uses Rails' extensions to the Ruby core Object class, and now I want to spin it off on its own. Rather than rewriting these, is there any library or extension that I can use to make them available independently?
You don't have to run Rails to use
or if you just want a specific extension, like
blank? for string then just
I looked up
present? and it's actually defined as
def present? !blank? end