Module: WayOfWorking::ReadmeBadge

Defined in:
lib/way_of_working/readme_badge/paths.rb,
lib/way_of_working/readme_badge/generators/init.rb,
lib/way_of_working/readme_badge/github_audit_rule.rb

Overview

Namespace for the “internal” ReadmeBadge rule

Defined Under Namespace

Modules: Generators Classes: GithubAuditRule

Class Method Summary collapse

Class Method Details

.rootObject



9
10
11
# File 'lib/way_of_working/readme_badge/paths.rb', line 9

def root
  Pathname.new(File.expand_path('../../..', __dir__))
end

.source_rootObject



13
14
15
# File 'lib/way_of_working/readme_badge/paths.rb', line 13

def source_root
  root.join('lib', 'way_of_working', 'readme_badge', 'templates')
end