Sha256: a36eb979eb0d36bfc056a7e003bc62740590e4aa6812c26bb7016968a1e0f48b
Contents?: true
Size: 641 Bytes
Versions: 1
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/array' require 'active_support/core_ext/hash' require 'active_support/deprecation' require 'active_support/inflector' require 'active_support/core_ext/module' require 'active_support/core_ext/class' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra_more-0.3.37 | lib/sinatra_more/support_lite.rb |