module Stove::Mixin::Insideable

Public Instance Methods

inside(cookbook, &block) click to toggle source

Execute the command inside the cookbook.

@param [Cookbook]

the cookbook to execute inside of
# File lib/stove/mixins/insideable.rb, line 9
def inside(cookbook, &block)
  Dir.chdir(cookbook.path, &block)
end