lib/slack-ruby-bot/hooks/set.rb in slack-ruby-bot-0.12.0 vs lib/slack-ruby-bot/hooks/set.rb in slack-ruby-bot-0.13.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module SlackRubyBot module Hooks class Set attr_accessor :handlers, :client @@ -34,10 +36,10 @@ end end end def flush_handlers - handlers.keys.each { |hook| register_callback(hook) } + handlers.each_key { |hook| register_callback(hook) } end end end end