Permalink
Browse files

Added SwissMatch::Name#to_a.

  • Loading branch information...
1 parent 01d9017 commit 8190e0746e79dc9cdb2231124e4d5c97228cabd3 @apeiros committed Sep 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/swissmatch/name.rb
View
@@ -38,6 +38,10 @@ def to_hash
}
end
+ def to_a
+ [to_s, @language, @sequence_number]
+ end
+
# @private
# @see Object#inspect
def inspect

0 comments on commit 8190e07

Please sign in to comment.