Sha256: e3bf997219037e6b6964b28122d586af3a03b10044ddd58811cc86351481af97

Contents?: true

Size: 406 Bytes

Versions: 13

Compression:

Stored size: 406 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/inflector'
  require 'active_support/core_ext/blank'
  require 'active_support/core_ext/class/attribute_accessors'
  require 'active_support/core_ext/hash'
  require 'active_support/core_ext/array'
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sinatra_more-0.3.25 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.24 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.23 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.22 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.21 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.18 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.16 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.15 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.14 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.13 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.12 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.11 lib/sinatra_more/support_lite.rb
sinatra_more-0.3.10 lib/sinatra_more/support_lite.rb