# File lib/collections/sequenced_hash.rb, line 191 def first(n = nil) return self[@seq.first] if n.nil? # Returns the first _n_ elements of self @seq.first(n).collect{|k| self[k]} end