lib/lisp.rb in lisp-1.0.4 vs lib/lisp.rb in lisp-1.0.5

- old
+ new

@@ -28,10 +28,10 @@ end end def self.evaluator(token) case token - when /\d/ + when /^\d+$/ token.to_f else token.to_sym end end