Skip to content

Commit

Permalink
use **options for Silencer#initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Aug 18, 2021
1 parent 306a8bc commit 32bb3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listen/silencer.rb
Expand Up @@ -60,7 +60,7 @@ class Silencer
# TODO: deprecate these mutators; use attr_reader instead
attr_accessor :only_patterns, :ignore_patterns

def initialize(options = {})
def initialize(**options)
configure(options)
end

Expand Down

0 comments on commit 32bb3a7

Please sign in to comment.