lib/edn/parser.rb in edn-1.0.5 vs lib/edn/parser.rb in edn-1.0.6
- old
+ new
@@ -1,8 +1,7 @@
require 'stringio'
require 'set'
-require 'pry'
module EDN
# Object returned when there is nothing to return
@@ -231,10 +230,10 @@
def read_basic
@s.skip_ws
ch = @s.current
result = call_reader(READERS[ch])
- while result == NOTHING
+ while NOTHING.equal?(result)
@s.skip_ws
result = call_reader(READERS[@s.current])
end
result
end