From: "marcandre (Marc-Andre Lafortune)" Date: 2013-02-24T07:16:31+09:00 Subject: [ruby-core:52750] [ruby-trunk - Bug #7925][Open] refine bug with puts Issue #7925 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #7925: refine bug with puts https://bugs.ruby-lang.org/issues/7925 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: shugo (Shugo Maeda) Category: core Target version: next minor ruby -v: r39390 As reported by Dave Thomas in [ruby-core:52515] module VanityPuts refine Object do private def puts(*args) args.each do |arg| super("Dave says: #{arg}") end end end end using VanityPuts puts "Hello" # => SystemStackError, expected "Dave says: Hello" -- http://bugs.ruby-lang.org/