dev-cmd/irb: move comment
This commit is contained in:
parent
df16e9f2de
commit
eea4492305
@ -18,7 +18,6 @@ module Homebrew
|
|||||||
module_function
|
module_function
|
||||||
|
|
||||||
def irb_args
|
def irb_args
|
||||||
# work around IRB modifying ARGV.
|
|
||||||
Homebrew::CLI::Parser.new do
|
Homebrew::CLI::Parser.new do
|
||||||
usage_banner <<~EOS
|
usage_banner <<~EOS
|
||||||
`irb` [<options>]
|
`irb` [<options>]
|
||||||
@ -34,6 +33,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def irb
|
def irb
|
||||||
|
# work around IRB modifying ARGV.
|
||||||
args = irb_args.parse(ARGV.dup.freeze)
|
args = irb_args.parse(ARGV.dup.freeze)
|
||||||
|
|
||||||
if args.examples?
|
if args.examples?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user