mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Small code improvement.
This commit is contained in:
parent
f0bbb268d6
commit
3410b8006d
3 changed files with 3 additions and 3 deletions
|
@ -353,7 +353,7 @@ Many other commands are available in Pry; to see the full list type
|
||||||
with basic instructions for use; some commands have a more extensive
|
with basic instructions for use; some commands have a more extensive
|
||||||
help that can be accessed via typing `command_name --help`. A command
|
help that can be accessed via typing `command_name --help`. A command
|
||||||
will typically say in its description if the `--help` option is
|
will typically say in its description if the `--help` option is
|
||||||
avaiable.
|
available.
|
||||||
|
|
||||||
### Use Pry as your Rails Console
|
### Use Pry as your Rails Console
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ class Pry
|
||||||
%w(.c .h) => :c,
|
%w(.c .h) => :c,
|
||||||
%w(.rhtml) => :rhtml,
|
%w(.rhtml) => :rhtml,
|
||||||
%w(.yaml .yml) => :yaml,
|
%w(.yaml .yml) => :yaml,
|
||||||
%w(.cpp .hpp .cc .h cxx) => :cpp,
|
%w(.cpp .hpp .cc .h .cxx) => :cpp,
|
||||||
%w(.rb .ru .irbrc .gemspec .pryrc .rake) => :ruby,
|
%w(.rb .ru .irbrc .gemspec .pryrc .rake) => :ruby,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# This will show a list of available commands and their usage. For more
|
# This will show a list of available commands and their usage. For more
|
||||||
# information about Pry you can refer to the following resources:
|
# information about Pry you can refer to the following resources:
|
||||||
#
|
#
|
||||||
# * http://pry.github.com/
|
# * http://pryrepl.org/
|
||||||
# * https://github.com/pry/pry
|
# * https://github.com/pry/pry
|
||||||
# * the IRC channel, which is #pry on the Freenode network
|
# * the IRC channel, which is #pry on the Freenode network
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue