method

variant

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: VariantCollector
variant() public

No documentation

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

Hide source
# File actionpack/lib/action_controller/metal/mime_responds.rb, line 313
        def variant
          if @variant.empty?
            @variants[:none] || @variants[:any]
          else
            @variants[variant_key]
          end
        end
Register or log in to add new notes.