<commit_before>class Roda
  module RodaPlugins
    # The padrino_render plugin adds rendering support that is
    # similar to Padrino's.  While not everything Padrino's
    # rendering supports is supported by this plugin (yet), it
    # currently handles enough to be a drop in replacement for
    # some applications.
    #
    # Most notably, this makes the +render+ method default to
    # using the layout, similar to how the +view+ method works
    # in the render plugin.  If you want to call render and not
    # use a layout, you can use the <tt>:layout=>false</tt>
    # option:
    #
    #   render('test')                 # layout
    #   render('test', :layout=>false) # no layout
    #
    # This also adds a +partial+ method, which renders templates
    # without the layout, but prefixes the template filename to
    # use with an underscore:
    #
    #   partial('test')     # uses _test.erb
    #   partial('dir/test') # uses dir/_test.erb
    #
    # 
    module PadrinoRender
      OPTS = {}.freeze
      SLASH = '/'.freeze

      # Depend on the render plugin, since this overrides
      # some of its methods.
      def self.load_dependencies(app, opts=OPTS)
        app.plugin :partials, opts
      end
<commit_msg>Clarification of usage documentation<commit_after>class Roda
  module RodaPlugins
    # The padrino_render plugin adds rendering support that is
    # similar to Padrino's.  While not everything Padrino's
    # rendering supports is supported by this plugin (yet), it
    # currently handles enough to be a drop in replacement for
    # some applications.
    # 
    #   plugin :padrino_render, :views => 'path/2/views'
    # 
    # Note! This plugin loads the :partials and :render plugins
    #
    # Most notably, this makes the +render+ method default to
    # using the layout, similar to how the +view+ method works
    # in the render plugin.  If you want to call render and not
    # use a layout, you can use the <tt>:layout=>false</tt>
    # option:
    #
    #   render('test')                 # layout
    #   render('test', :layout=>false) # no layout
    #
    # This also adds a +partial+ method, which renders templates
    # without the layout, but prefixes the template filename to
    # use with an underscore:
    #
    #   partial('test')     # uses _test.erb
    #   partial('dir/test') # uses dir/_test.erb
    #
    # 
    module PadrinoRender
      OPTS = {}.freeze
      SLASH = '/'.freeze

      # Depend on the render plugin, since this overrides
      # some of its methods.
      def self.load_dependencies(app, opts=OPTS)
        app.plugin :partials, opts
      end

{'fraction_non_alphanumeric': 0.08491281273692192, 'fraction_numerical': 0.0003790750568612585, 'mean_word_length': 2.4723684210526318, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6868398', 'n_tokens_mistral': 768, 'n_tokens_neox': 749, 'n_words': 294}