module Chef::DSL::Cheffish
Lazy activation for the cheffish gem. Specifically, we set up methods for each resource and DSL
method in cheffish which, when invoked, will require ‘cheffish’ (which will define the actual method) and then call the method cheffish defined.
Public Class Methods
load_cheffish()
click to toggle source
# File lib/chef/dsl/cheffish.rb, line 56 def self.load_cheffish # Remove all cheffish methods; they will be added back in by cheffish public_instance_methods(false).each do |method_name| remove_method(method_name) end require "cheffish" end