Skip to content

Instantly share code, notes, and snippets.

@rentzsch
Created December 28, 2009 01:48
Show Gist options
  • Save rentzsch/264484 to your computer and use it in GitHub Desktop.
Save rentzsch/264484 to your computer and use it in GitHub Desktop.
$ /usr/local/bin/macirb --simple-prompt
>> d1 = NSMutableDictionary.dictionary
=> {}
>> d2 = {}
=> {}
>> d1.class.ancestors
=> [NSMutableDictionary, NSDictionary, Enumerable, NSObject, Kernel]
>> d2.class.ancestors
=> [NSMutableDictionary, NSDictionary, Enumerable, NSObject, Kernel]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment