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