class HealthInspector::Context
Attributes
knife[RW]
Public Class Methods
new(knife)
click to toggle source
# File lib/health_inspector/context.rb, line 7 def initialize(knife) @knife = knife end
Public Instance Methods
cookbook_path()
click to toggle source
# File lib/health_inspector/context.rb, line 11 def cookbook_path Array(Chef::Config.cookbook_path) end
repo_path()
click to toggle source
# File lib/health_inspector/context.rb, line 15 def repo_path ENV['PWD'] end