Skip to content

Instantly share code, notes, and snippets.

@wuputah
Forked from loe/gist:485146
Created July 21, 2010 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wuputah/485167 to your computer and use it in GitHub Desktop.
Save wuputah/485167 to your computer and use it in GitHub Desktop.
~/p/wegowise (master) % sc
Loading development environment (Rails 2.3.5)
ree-1.8.7-2010.02 > require 'active_support'
=> []
ree-1.8.7-2010.02 > fucker = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(nil, 'HAHAHA')
=> nil
ree-1.8.7-2010.02 > !! fucker
=> true
ree-1.8.7-2010.02 > fucker.nil?
=> true
ree-1.8.7-2010.02 > ^D%
~/p/wegowise (master) % irb
ree-1.8.7-2010.02 > require 'active_support'
=> true
ree-1.8.7-2010.02 > fucker = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(nil, 'HAHAHA')
=> nil
ree-1.8.7-2010.02 > !! fucker
=> true
ree-1.8.7-2010.02 > fucker.nil?
DEPRECATION WARNING: HAHAHA. (called from irb_binding at (irb):4)
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment