Permalink
Browse files

No arguments for Facter.list() and Facter.to_hash()

  • Loading branch information...
1 parent d8911aa commit 12c4c36c2798efebde58a8aee116fcce257877c7 @cosimo committed Dec 5, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/Facter.pm
View
@@ -75,7 +75,7 @@ method debug($string) {
return
}
if self.debugging {
- say $string ~ "\n"
+ say $string;
}
return;
}
@@ -133,14 +133,14 @@ method value (*@args) {
# });
#}
-method list (*@args) {
+method list {
self.collection.load_all();
- self.collection.list(@args);
+ self.collection.list();
}
-method to_hash (*@args) {
+method to_hash {
self.collection.load_all();
- self.collection.to_hash(@args);
+ self.collection.to_hash();
}
# Add a resolution mechanism for a named fact. This does not distinguish

0 comments on commit 12c4c36

Please sign in to comment.