Skip to content

Instantly share code, notes, and snippets.

@ryanuber
Last active January 2, 2016 22:09
Show Gist options
  • Save ryanuber/8367898 to your computer and use it in GitHub Desktop.
Save ryanuber/8367898 to your computer and use it in GitHub Desktop.
Ruby 1.8.7 > 2.x SystemStackError
irb(main):001:0> def method_missing(*args) args.join(' ') end
=> nil
irb(main):002:0> hello world
=> "hello world"
irb(main):001:0> def method_missing(*args) args.join(' ') end
=> nil
irb(main):002:0> hello world
(irb):1: stack level too deep (SystemStackError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment