Use match over match? for Ruby 2.3
This commit is contained in:
parent
a1ca29c5e4
commit
daffd87200
|
@ -81,7 +81,7 @@ module Vagrant
|
|||
match = false
|
||||
if trigger.only_on
|
||||
trigger.only_on.each do |o|
|
||||
if o.match?(guest_name)
|
||||
if o.match(guest_name)
|
||||
# trigger matches on current guest, so we're fine to use it
|
||||
match = true
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue