fix lists first

This commit is contained in:
Torsten Ruger
2015-05-31 13:26:47 +03:00
parent 03bdc16810
commit db5c958d2e
2 changed files with 16 additions and 2 deletions

View File

@ -65,7 +65,7 @@ module Parfait
end
def first
return nil unless empty?
return nil if empty?
get(1)
end