Created
October 23, 2012 02:03
-
-
Save dogweather/3936252 to your computer and use it in GitHub Desktop.
Trying to use pry to learn about a gem/module
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
[7] pry(main)> include Magick | |
=> Object | |
[8] pry(main)> ls | |
self.methods: include private public to_s | |
locals: _ _dir_ _ex_ _file_ _in_ _out_ _pry_ | |
[9] pry(main)> ls -g | |
global variables: $! $" $$ $& $' $* $+ $, $-0 $-a $-d $-F $-i $-I $-K $-l $-p $-v $-W $-w $. $/ $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $: $; $< $= $> $? $@ $\ $_ $` $CODERAY_DEBUG $DEBUG $DEBUG_BEFORE $FILENAME $fileutils_rb_have_lchmod $fileutils_rb_have_lchown $KCODE $LOAD_PATH $LOADED_FEATURES $PROGRAM_NAME $SAFE $stderr $stdin $stdout $VERBOSE $~ | |
[10] pry(main)> Image | |
=> Magick::Image | |
[11] pry(main)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment