lib/roda/plugins/view_options.rb
def _cached_template_method_key(template)
            return if @_view_options || @_layout_options

            if subdir = @_view_subdir
              template = [subdir, template]
            end

            super
          end
# :nocov:
# Return nil if using custom view or layout options.
# If using a view subdir, prefix the template key with the subdir.
:nocov:
Return nil if using custom view or layout options.
If using a view subdir, prefix the template key with the subdir.
: nocov : Return nil if using custom view or layout options . If using a view subdir prefix the template key with the subdir .
def _cached_template_method_key(template)
            return if @_view_options || @_layout_options
            if subdir = @_view_subdir
              template = [subdir, template]
            end
            super
          end
def _cached_template_method_key ( template ) return if @_view_options || @_layout_options if subdir = @_view_subdir template = [ subdir , template ] end super end
:nocov:
Return nil if using custom view or layout options.
: nocov : Return nil if using custom view or layout options .
template