Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Loading development environment (Rails 2.3.8)
ruby-1.8.7-p249 > Exception.subclasses
SyntaxError: (eval):1:in `subclasses_of': compile error
(eval):1: syntax error, unexpected tIDENTIFIER, expecting tCONSTANT
defined?(::fatal) && ::fatal.object_id == k.object_id
^
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:18:in `subclasses_of'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:17:in `eval'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:18:in `subclasses_of'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:17:in `each_object'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:17:in `subclasses_of'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:16:in `each'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/object/extending.rb:16:in `subclasses_of'
from /Users/wilson/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.8/lib/active_support/core_ext/class/removal.rb:16:in `subclasses'
from (irb):1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment