Sha256: 0224fb36507d98bd80f42eaf8884053a4e01d1494041f5262aafdd9b98720591
Contents?: true
Size: 659 Bytes
Versions: 9
Compression:
Stored size: 659 Bytes
Contents
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"] } end def has_graph? true end def enable if MetricFu.configuration.supports_ripper? && !MetricFu.configuration.ruby18? super else MetricFu.logger.debug("Cane is only available in MRI. It requires ripper and 1.9 hash syntax support") end end def activate super end end end
Version data entries
9 entries across 9 versions & 3 rubygems