Module: Alterans::Stylecheck

Defined in:
lib/alterans/stylecheck.rb,
lib/alterans/stylecheck/version.rb

Constant Summary collapse

VERSION =
"0.1.1".freeze

Class Method Summary collapse

Class Method Details

.rootObject



8
9
10
# File 'lib/alterans/stylecheck.rb', line 8

def root
  Gem::Specification.find_by_name("alterans-stylecheck").gem_dir
end

.template_pathObject



12
13
14
# File 'lib/alterans/stylecheck.rb', line 12

def template_path
  File.join(root, "template", "rubocop.yml")
end