Skip to content

Instantly share code, notes, and snippets.

@yaymukund

yaymukund/huh.rb Secret

Created October 25, 2012 04:55
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 yaymukund/ecacfd4fb43173569199 to your computer and use it in GitHub Desktop.
Save yaymukund/ecacfd4fb43173569199 to your computer and use it in GitHub Desktop.
[24] pry(main)> Beta.class
=> Module
[25] pry(main)> ls Beta
constants: Channel ChatBadge Feature Payments Product Team User
[28] pry(main)> stat Beta.should_not
Method Information:
--
Name: should_not
Owner: Kernel
Visibility: public
Type: Bound
Arity: -1
Method Signature: should_not(*arg1)
Source Location: /Users/mukund/.rbenv/versions/ree-1.8.7-2012.02/lib/ruby/gems/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/extensions/kernel.rb:23
[38] pry(main)> Beta.methods - Object.methods - Kernel.methods
=> []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment