lib/metric_fu/metrics/cane/metric.rb in metric_fu-4.11.3 vs lib/metric_fu/metrics/cane/metric.rb in metric_fu-4.11.4
- old
+ new
@@ -1,20 +1,19 @@
module MetricFu
class MetricCane < Metric
-
def name
:cane
end
def default_run_options
{
- :dirs_to_cane => MetricFu::Io::FileSystem.directory('code_dirs'),
- :abc_max => 15,
- :line_length => 80,
- :no_doc => 'n',
- :no_readme => 'n',
- :filetypes => ['rb']
+ dirs_to_cane: MetricFu::Io::FileSystem.directory("code_dirs"),
+ abc_max: 15,
+ line_length: 80,
+ no_doc: "n",
+ no_readme: "n",
+ filetypes: ["rb"]
}
end
def has_graph?
true
@@ -29,8 +28,7 @@
end
def activate
super
end
-
end
end