Created
February 20, 2011 04:30
-
-
Save banister/835694 to your computer and use it in GitHub Desktop.
This file contains 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
Beginning Pry session for main | |
pry(main)> ls --help | |
Usage: ls [OPTIONS] [VAR] | |
List information about VAR (the current context by default). | |
Shows local and instance variables by default. | |
-- | |
-g, --globals Display global variables. | |
-c, --constants Display constants. | |
-l, --locals Display locals. | |
-i, --ivars Display instance variables. | |
-k, --class-vars Display class variables. | |
-m, --methods Display methods (public methods by default) | |
. | |
-M, --instance-methods Display instance methods (only relevant to | |
classes and modules). | |
-P, --public Display public methods (with -m). | |
-r, --protected Display protected methods (with -m). | |
-p, --private Display private methods (with -m). | |
-s, --super Include superclass entries (relevant to con | |
stant and methods options). | |
-a, --all Display all types of entries. | |
-v, --verbose Verbose ouput. | |
-h, --help Show this message. | |
=> nil | |
pry(main)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment