lib/chef/sugar/node.rb in chef-sugar-1.2.6 vs lib/chef/sugar/node.rb in chef-sugar-1.3.0

- old
+ new

@@ -37,19 +37,9 @@ def in?(environment) environment === chef_environment end # - # Determine if the current node includes the given recipe name. - # - # @param [String] recipe_name - # - def includes_recipe?(recipe_name) - run_list.include?(recipe_name) - end - alias_method :include_recipe?, :includes_recipe? - - # # Safely fetch a deeply nested attribute by specifying a list of keys, # bypassing Ruby's Hash notation. This method swallows +NoMethodError+ # exceptions, avoiding the most common error in Chef-land. # # This method will return +nil+ if any deeply nested key does not exist.