module Roda::RodaPlugins::ViewSubdirLeadingSlash::InstanceMethods
Private Instance Methods
Source
# File lib/roda/plugins/view_subdir_leading_slash.rb, line 40 def use_view_subdir_for_template_name?(name) !name.start_with?('/') end
Use a view subdir unless the template starts with a slash.