method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Requested
new(locale:, handlers:, formats:, variants:) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/template_details.rb, line 11
      def initialize(locale,, handlers,, formats,, variants))
        @locale = locale
        @handlers = handlers
        @formats = formats
        @variants = variants

        @locale_idx   = build_idx_hash(locale)
        @handlers_idx = build_idx_hash(handlers)
        @formats_idx  = build_idx_hash(formats)
        if variants == :any
          @variants_idx = ANY_HASH
        else
          @variants_idx = build_idx_hash(variants)
        end
      end
Register or log in to add new notes.