Class: HammerCLI::Output::Formatters::ListFormatter

Inherits:
FieldFormatter show all
Defined in:
lib/hammer_cli/output/formatters.rb

Instance Method Summary collapse

Methods inherited from FieldFormatter

#match?

Instance Method Details

#format(list) ⇒ Object



101
102
103
# File 'lib/hammer_cli/output/formatters.rb', line 101

def format(list)
  list.join(", ") if list
end

#tagsObject



97
98
99
# File 'lib/hammer_cli/output/formatters.rb', line 97

def tags
  [:flat]
end