Skip to content
Snippets Groups Projects
Commit 8857b27b authored by Patrick Meidl's avatar Patrick Meidl
Browse files

added to_string() (for debugging)

parent 0d3e99b3
No related branches found
No related tags found
No related merge requests found
......@@ -74,5 +74,11 @@ sub score {
}
sub to_string {
my $self = shift;
return sprintf('%-10s%-10s%-5f', $self->source, $self->target, $self->score);
}
1;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment