Sha256: b884736028965d3f5677b7f9b02ca05a0c758d3683445563eef0074c5cdf00fa
Contents?: true
Size: 1.29 KB
Versions: 5
Compression:
Stored size: 1.29 KB
Contents
## # This file loads certain extensions required by Padrino from ActiveSupport. # require 'active_support/core_ext/module/aliasing' # alias_method_chain require 'active_support/core_ext/hash/reverse_merge' # reverse_merge require 'active_support/core_ext/hash/keys' # symbolize_keys require 'active_support/core_ext/hash/indifferent_access' # params[:foo] require 'active_support/core_ext/hash/slice' # slice require 'active_support/core_ext/array/extract_options' # Array#extract_options! require 'active_support/core_ext/object/blank' # present? require 'active_support/core_ext/string/output_safety' # SafeBuffer and html_safe require 'padrino-support/core_ext/string/inflections' require 'padrino-support/core_ext/string/colorize' require 'padrino-support/core_ext/string/undent' # deprecated require 'padrino-support/core_ext/object_space' require 'padrino-support/file_set' ## # Loads our locale configuration files # if defined?(I18n) && !defined?(PADRINO_I18N_LOCALE) PADRINO_I18N_LOCALE = true I18n.load_path += Dir["#{File.dirname(__FILE__)}/padrino-support/locale/*.yml"] end ## # Make sure we can always use the class name # In reloader for accessing class_name Foo._orig_klass_name # class Module alias :_orig_klass_name :to_s end
Version data entries
5 entries across 5 versions & 1 rubygems