Skip to content
Create a gist now

Instantly share code, notes, and snippets.

[2] (pry) main: 0> gist -h
Usage: gist [OPTIONS] [METH]
Gist method (doc or source) or input expression to github.
Ensure the `gist` gem is properly working before use. http://github.com/defunkt/gist for instructions.
e.g: gist -m my_method
e.g: gist -d my_method
e.g: gist -i 1..10
e.g: gist -c show-method
e.g: gist -m hello_world --lines 2..-2
options:
-m, --method Gist a method's source.
-d, --doc Gist a method's documentation.
-c, --command Gist a command's source.
-f, --file Gist a file.
-p, --public Create a public gist (default: false)
-l, --lines Only gist a subset of lines.
-i, --in Gist entries from Pry's input expression history. Takes an index or range.
-h, --help Show this message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.