Sha256: 23cd12cd9679f14d7ece4341bd54b97b94da29665a8a983963dea351a0a62b3d

Contents?: true

Size: 363 Bytes

Versions: 35

Compression:

Stored size: 363 Bytes

Contents

module Aptible
  module CLI
    module Formatter
      class KeyedObject < Object
        # KeyedObject is rendered as an Object, but flags a given key as being
        # more important. Renderers may opt to only render this key.
        attr_reader :key

        def initialize(key)
          @key = key
          super()
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
aptible-cli-0.24.2 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.24.1 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.24.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.23.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.22.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.21.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.20.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.9 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.7 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.6 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.4 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.3 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.2 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.1 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.19.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.18.3 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.18.2 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.18.1 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.18.0 lib/aptible/cli/formatter/keyed_object.rb
aptible-cli-0.17.2 lib/aptible/cli/formatter/keyed_object.rb