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