Sha256: d9f427f5ad7187b39be351a7169fa7b4b1e5b1e22f856aa08aec64b191b370a9
Contents?: true
Size: 348 Bytes
Versions: 6
Compression:
Stored size: 348 Bytes
Contents
require 'core_ext/string_inquirer' class String # Wraps the current string in the <tt>CoreExt::StringInquirer</tt> class, # which gives you a prettier way to test for equality. # # env = 'production'.inquiry # env.production? # => true # env.development? # => false def inquiry CoreExt::StringInquirer.new(self) end end
Version data entries
6 entries across 6 versions & 1 rubygems