Skip to content

Commit

Permalink
Merge pull request #71 from mjio/fix_serializable_module
Browse files Browse the repository at this point in the history
Fix method name to convert binary to hex in Serializable module
  • Loading branch information
tarcieri committed Sep 11, 2013
2 parents ad1cd17 + cbe7fe1 commit a49d761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbnacl/serializable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def to_str; to_bytes; end
#
# @return [String] a string representing this key
def inspect
"#<#{self.class}:#{Util.bytes2hex(to_bytes)[0,8]}>"
"#<#{self.class}:#{Util.bin2hex(to_bytes)[0,8]}>"
end
end
end

0 comments on commit a49d761

Please sign in to comment.