lib/pennyworth/loaders/system/signals.rb in pennyworth-11.2.2 vs lib/pennyworth/loaders/system/signals.rb in pennyworth-12.0.0

- old
+ new

@@ -8,10 +8,10 @@ def initialize list: Signal.list, model: Models::System::Signal @list = list @model = model end - def call(_omit = nil) = list.map { |name, number| model[number: number, name: name] } + def call(_omit = nil) = list.map { |name, number| model[number:, name:] } private attr_reader :list, :model end