lib/roda/plugins/view_options.rb
# If view options or locals have been set and this
# template isn't a layout template, merge the options
# and locals into the returned hash.
If view options or locals have been set and this
template isn't a layout template, merge the options
and locals into the returned hash.
If view options or locals have been set and this template isn ' t a layout template merge the options and locals into the returned hash .
def parse_template_opts(template, opts)
          t_opts = super
          if !t_opts[:_is_layout] && (v_opts = @_view_options)
            t_opts.merge!(v_opts)
          end
          t_opts
        end
def parse_template_opts ( template , opts ) t_opts = super if ! t_opts [ :_is_layout ] && ( v_opts = @_view_options ) t_opts . merge! ( v_opts ) end t_opts end
If view options or locals have been set and this
template isn't a layout template, merge the options
and locals into the returned hash.
If view options or locals have been set and this template isn ' t a layout template merge the options and locals into the returned hash .
template
opts