Sha256: e41f7fc0ae5a20c9e450a2247fdfa2ca580533a5f2cb4d39434db5f470071746
Contents?: true
Size: 740 Bytes
Versions: 20
Compression:
Stored size: 740 Bytes
Contents
require 'action_pack' require 'active_support/core_ext/string/inflections' module RoutingFilter autoload :Filter, 'routing_filter/filter' autoload :Chain, 'routing_filter/chain' autoload :Extension, 'routing_filter/filters/extension' autoload :Locale, 'routing_filter/filters/locale' autoload :Pagination, 'routing_filter/filters/pagination' autoload :Uuid, 'routing_filter/filters/uuid' class << self def build(name, options) const_get(name.to_s.camelize).new(options) end def active=(active) @@active = active end def active? defined?(@@active) ? @@active : @@active = true end end end require "routing_filter/adapters/rails_#{ActionPack::VERSION::MAJOR}"
Version data entries
20 entries across 20 versions & 3 rubygems