instance method
type
Ruby on Rails 4.1.16
Since v4.0.13Signature
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