Class: RedminePluginSupport::MetricsTask
- Inherits:
-
GeneralTask
- Object
- Rake::TaskLib
- GeneralTask
- RedminePluginSupport::MetricsTask
- Defined in:
- lib/redmine_plugin_support/metrics_task.rb
Instance Attribute Summary
Attributes inherited from GeneralTask
Instance Method Summary collapse
Methods inherited from GeneralTask
Constructor Details
This class inherits a constructor from RedminePluginSupport::GeneralTask
Instance Method Details
#define ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# 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 |