Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 12c4c36c2798efebde58a8aee116fcce257877c7 1 parent d8911aa
@cosimo authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/Facter.pm
View
10 lib/Facter.pm
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.