JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.3k stars 54 forks source link

Defining `Fixnum#to_s` messes it up #86

Closed JoshCheek closed 7 years ago

JoshCheek commented 7 years ago

It stops displaying results after the to_s. This should be fixed by Safe::Fixnum so maybe something isn't using it? Apparently this test is insufficient >.< Issue is probably here.

1             # => 1
class Fixnum
  def to_s
    "lolol"
  end
end
1