Sha256: f1404f93b4312391c48e8d892d96143f7c0294bf281307a27e44f6faf916185b
Contents?: true
Size: 641 Bytes
Versions: 10
Compression:
Stored size: 641 Bytes
Contents
# This is for adding specific methods that are required by sinatra_more if activesupport isn't required unless String.method_defined?(:titleize) && Hash.method_defined?(:slice) require 'active_support/core_ext/kernel' require 'active_support/core_ext/module' require 'active_support/core_ext/class' require 'active_support/deprecation' require 'active_support/inflector' require 'active_support/core_ext/hash' require 'active_support/core_ext/array' end unless String.method_defined?(:blank?) begin require 'active_support/core_ext/object/blank' rescue LoadError require 'active_support/core_ext/blank' end end
Version data entries
10 entries across 10 versions & 1 rubygems