Sha256: 817c9055e46b55c2fd8b133c085420960061a4494c3187f3bc8a96117afa0de8
Contents?: true
Size: 640 Bytes
Versions: 4
Compression:
Stored size: 640 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
4 entries across 4 versions & 1 rubygems