Flowdock
method

[]

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: Type
[](type) 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_view/template/types.rb, line 17
        def self.[](type)
          return type if type.is_a?(self)

          if type.is_a?(Symbol) || types.member?(type.to_s)
            new(type)
          end
        end
Register or log in to add new notes.