Method: CommandExec::Formatter::Hash#output

Defined in:
lib/command_exec/formatter/hash.rb,
lib/command_exec/formatter/hash.rb

#output(*fields) ⇒ Hash (readonly)

Output the prepared output

Parameters:

  • fields (Array, Symbol)

    the fields which should be outputted

Returns:

  • (Hash)

    the formatted output



14
15
16
# File 'lib/command_exec/formatter/hash.rb', line 14

def output
  @output
end