Methods

RedminePluginSupport::MetricsTask

Public Instance Methods

define() click to toggle source
# File lib/redmine_plugin_support/metrics_task.rb, line 3
def define
  require 'metric_fu'

  namespace :metrics do
    desc "Check the code against the rails_best_practices"
    task :rails_best_practices do
      system("rails_best_practices #{RedmineHelper.plugin_root}")
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.