Sha256: bede83678b897fb6a198221811f6fdb9b2430207cd1e2c933227fecda2738f5b

Contents?: true

Size: 397 Bytes

Versions: 54

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

module Pennyworth
  module Presenters
    module System
      # Renders strings into a compatible format for use in Alfred script filters.
      class Signal
        def initialize record
          @record = record
        end

        def id = record.number

        def label = record.name

        private

        attr_reader :record
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
pennyworth-12.2.0 lib/pennyworth/presenters/system/signal.rb
pennyworth-12.1.0 lib/pennyworth/presenters/system/signal.rb
pennyworth-12.0.2 lib/pennyworth/presenters/system/signal.rb
pennyworth-12.0.1 lib/pennyworth/presenters/system/signal.rb
pennyworth-12.0.0 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.2.2 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.2.1 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.2.0 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.1.3 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.1.2 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.1.1 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.1.0 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.0.1 lib/pennyworth/presenters/system/signal.rb
pennyworth-11.0.0 lib/pennyworth/presenters/system/signal.rb