class Aptible::CLI::Formatter::KeyedList
Attributes
key[R]
KeyedList
is a list of objects with one key that is more important than the others. Some renderers may opt to only display this key when rendering the list.
Public Class Methods
new(key)
click to toggle source
Calls superclass method
# File lib/aptible/cli/formatter/keyed_list.rb, line 10 def initialize(key) @key = key super() end
Public Instance Methods
list()
click to toggle source
# File lib/aptible/cli/formatter/keyed_list.rb, line 19 def list raise "not supported on #{self.class}" end
value(_)
click to toggle source
# File lib/aptible/cli/formatter/keyed_list.rb, line 15 def value(_) raise "not supported on #{self.class}" end