lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.7 vs lib/vimgolf_finder/challenge.rb in vimgolf-finder-0.1.8
- old
+ new
@@ -35,10 +35,10 @@
else
file = File.new(path)
end
file.readlines.each do |line|
- if line.strip.eql?(self.id)
+ if line.eql?(self.id)
return true
end
end
return false
\ No newline at end of file