Browse files

Ruby's to_s is our Str method, so let's stay consistent

  • Loading branch information...
1 parent 48e6676 commit 82f7382d9a0ae468605956cc2c0a1557386e2ed5 @cosimo committed Nov 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Facter/Util/Confine.pm
View
2 lib/Facter/Util/Confine.pm
@@ -27,7 +27,7 @@ method initialize($fact, *@values) {
@.values = @values;
}
-method to_s { # XXX Str ?
+method Str { # ruby: to_s
my $fact = $.fact;
my $values = @.values.join(',');
return "'$fact' '$values'";

0 comments on commit 82f7382

Please sign in to comment.