Sha256: 3597c628767ead56fcdb8310ed95d807e2113471bde38e828ad944dc2a6fdf30
Contents?: true
Size: 375 Bytes
Versions: 269
Compression:
Stored size: 375 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. Example: # # env = "production".inquiry # env.production? # => true # env.development? # => false def inquiry ActiveSupport::StringInquirer.new(self) end end
Version data entries
269 entries across 225 versions & 25 rubygems