instance method
type
Ruby on Rails 5.2.8.1
Since v4.0.13Signature
type()
No documentation comment.
Source
# File actionview/lib/action_view/template.rb, line 165
def type
@type ||= Types[@formats.first] if @formats.first
end
Defined in actionview/lib/action_view/template.rb line 165
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Template