Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added SwissMatch::Name#to_a.

  • Loading branch information...
commit 8190e0746e79dc9cdb2231124e4d5c97228cabd3 1 parent 01d9017
@apeiros authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/swissmatch/name.rb
View
4 lib/swissmatch/name.rb
@@ -38,6 +38,10 @@ def to_hash
}
end
+ def to_a
+ [to_s, @language, @sequence_number]
+ end
+
# @private
# @see Object#inspect
def inspect
Please sign in to comment.
Something went wrong with that request. Please try again.