1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Fix typo.

Rename parameter of options method from opti to opt, because in other commands opt is used.
This commit is contained in:
yui-knk 2014-03-29 22:21:15 +09:00 committed by Ryan Fitzgerald
parent c42caac680
commit 961fada16f

View file

@ -24,9 +24,9 @@ class Pry
find-method -c 'output.puts' Pry
BANNER
def options(opti)
opti.on :n, :name, "Search for a method by name"
opti.on :c, :content, "Search for a method based on content in Regex form"
def options(opt)
opt.on :n, :name, "Search for a method by name"
opt.on :c, :content, "Search for a method based on content in Regex form"
end
def process