Skip to content

Instantly share code, notes, and snippets.

@ConradIrwin
Created August 23, 2011 06:44
Show Gist options
  • Select an option

  • Save ConradIrwin/1164501 to your computer and use it in GitHub Desktop.

Select an option

Save ConradIrwin/1164501 to your computer and use it in GitHub Desktop.
(in /0/ruby/pry)
** Invoke pry (first_time)
** Execute pry
pry(main)> require 'ampex'
=> true
pry(main)> X
warning: .pretty_inspect returned Metavariable not String
=> #<Metavariable:0x13f621c>
pry(main)> Object.new
=> #<Object:0x26ff750>
pry(main)> class A; undef inspect; end
=> nil
pry(main)> A.new
warning: #<NameError: undefined method `inspect' for class `A'>
=> #<A:0x1379b18>
pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment