Created
September 16, 2011 12:44
-
-
Save shawn42/1222044 to your computer and use it in GitHub Desktop.
Pry Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pry(main)> cd Document.first/@attributes | |
pry(#<Hash>):2> keys.sort | |
=> ["actual_finish_at", | |
"actual_start_at", | |
"adjusted_planned_finish_at", | |
"adjusted_planned_start_at", ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pry(main)> ls -c --grep Kb Gosu | |
Kb0 Kb1 Kb2 Kb3 Kb4 Kb5 Kb6 Kb7 Kb8 Kb9 KbA KbB KbBackspace KbC KbD KbDelete KbDown KbE KbEnd KbEnter ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment