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