lib/vanity/commands/report.rb
def render(path_or_options, locals = {})
      if path_or_options.respond_to?(:keys)
        render_erb(
          path_or_options[:file] || path_or_options[:partial],
          path_or_options[:locals]
        )
      else
        render_erb(path_or_options, locals)
      end
    end
def render(path_or_options, locals = {})
      if path_or_options.respond_to?(:keys)
        render_erb(
          path_or_options[:file] || path_or_options[:partial],
          path_or_options[:locals]
        )
      else
        render_erb(path_or_options, locals)
      end
    end
def render ( path_or_options , locals = { } ) if path_or_options . respond_to? ( :keys ) render_erb ( path_or_options [ :file ] || path_or_options [ :partial ] , path_or_options [ :locals ] ) else render_erb ( path_or_options , locals ) end end
Render the named template. Used for reporting and the dashboard.
Render the named template . Used for reporting and the dashboard .