class RailsApiBenchmark::Views::ResultsMarkdown
Attributes
results[R]
target[R]
title[R]
Public Class Methods
new(target, results)
click to toggle source
Calls superclass method
# File lib/rails_api_benchmark/views/results_markdown.rb, line 8 def initialize(target, results) super @file_name = 'results' @target = target @results = results end
Public Instance Methods
extension()
click to toggle source
Maybe put this in a superclass like MarkdownView to DRY
# File lib/rails_api_benchmark/views/results_markdown.rb, line 16 def extension 'md' end
folder()
click to toggle source
# File lib/rails_api_benchmark/views/results_markdown.rb, line 20 def folder @target.name end