Skip to content
Browse files

Make sure sets are seqable

  • Loading branch information...
1 parent 810a459 commit d307c7d6f21a8ff8e47505f0fcd07db5dca84aa3 @noprompt noprompt committed Dec 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rouge/seq.rb
View
2 lib/rouge/seq.rb
@@ -264,6 +264,8 @@ def self.seq(form)
seq(form.to_a)
when String
seq(form.chars)
+ when Set
+ seq(form.to_a)
else
raise UnknownSeqError, form.inspect
end

0 comments on commit d307c7d

Please sign in to comment.
Something went wrong with that request. Please try again.