instance method
_include_layout?
Ruby on Rails edge
Since v4.1.16 Private — implementation detail, not part of the public APISignature
_include_layout?(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File actionview/lib/action_view/layouts.rb, line 487
def _include_layout?(options)
!(options.key?(:body) || options.key?(:plain) || options.key?(:html) || options.key?(:inline) || options.key?(:partial)) || options.key?(:layout)
end
Defined in actionview/lib/action_view/layouts.rb line 487
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Layouts