summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2013-05-28 12:57:04 -0700
committerJohn Keiser <john@johnkeiser.com>2013-05-28 12:57:04 -0700
commit7dbde11ea5d97fe29e9c824116bbcf7f2a7b7b0c (patch)
tree7a81854eb8e9bff9a5d9969a3b587e1229084466
parentf8f1892a254332c217e130e24de5b4d285bbed89 (diff)
parentf0d994199d9182af58d25a7af8fcd928984b6978 (diff)
downloadchef-zero-7dbde11ea5d97fe29e9c824116bbcf7f2a7b7b0c.tar.gz
Merge pull request #10 from reset/undefined-method-list
fix undefined method .list on CookbookData
-rw-r--r--lib/chef_zero/cookbook_data.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/cookbook_data.rb b/lib/chef_zero/cookbook_data.rb
index 5d99222..298a9a9 100644
--- a/lib/chef_zero/cookbook_data.rb
+++ b/lib/chef_zero/cookbook_data.rb
@@ -162,7 +162,7 @@ module ChefZero
end
end
- def self.list_directory(directory)
+ def self.list(directory)
if directory.is_a?(Hash)
directory.keys
else