1
0
Fork 0
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:
Conrad Irwin 2014-06-24 16:10:07 -04:00
commit a6fad5f465
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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