mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Merge pull request #1255 from stevenharman/clean-up-ambiguous-method-warnings
Clean up ambiguous method warnings
This commit is contained in:
commit
a6fad5f465
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
class Pry
|
||||
class Command::Bang < Pry::ClassCommand
|
||||
match /^\s*!\s*$/
|
||||
match(/^\s*!\s*$/)
|
||||
group 'Editing'
|
||||
description 'Clear the input buffer.'
|
||||
command_options :use_prefix => false
|
||||
|
|
|
@ -711,7 +711,7 @@ describe "Pry::Command" do
|
|||
|
||||
it "equals to :match option's inspect, if :match is Regexp" do
|
||||
class CoolWinter < Pry::ClassCommand
|
||||
match /.*winter/
|
||||
match(/.*winter/)
|
||||
description 'Is winter cool or cool?'
|
||||
end
|
||||
Pry.config.commands.add_command CoolWinter
|
||||
|
|
Loading…
Reference in a new issue