Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

Commit

Permalink
* Cleaned up the to_s methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Aug 17, 2008
1 parent 93435c4 commit 99d9d2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/scandb/os_class_guess.rb
Expand Up @@ -42,7 +42,7 @@ class OSClassGuess
# Returns the String form of the OS Class guess.
#
def to_s
"#{os_class} accuracy=#{accuracy}%"
"#{accuracy}%: #{os_class}"
end

end
Expand Down
2 changes: 1 addition & 1 deletion lib/scandb/os_match_guess.rb
Expand Up @@ -42,7 +42,7 @@ class OSMatchGuess
# Returns the String form of the OS Match guess.
#
def to_s
"#{os} accuracy=#{accuracy}%"
"#{accuracy}%: #{os_match}"
end

end
Expand Down

0 comments on commit 99d9d2a

Please sign in to comment.