Skip to content

Instantly share code, notes, and snippets.

@banister
Created April 14, 2011 13:00
Show Gist options
  • Save banister/919424 to your computer and use it in GitHub Desktop.
Save banister/919424 to your computer and use it in GitHub Desktop.
pry(main)> class SupBurg
pry(main)* def yo
pry(main)* puts 'swede'
pry(main)* end
pry(main)* end
=> nil
pry(main)> hist
0: class SupBurg
1: def yo
2: puts 'swede'
3: end
4: end
5: hist
pry(main)> hist --replay 0..3
pry(main)* def swede?
pry(main)* true
pry(main)* end
pry(main)* end
=> nil
pry(main)> SupBurg.new.swede?
=> true
pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment