module HammerCLI::Output::Adapter class Abstract def print_message msg puts msg end def print_error msg, details=nil details = details.split("\n") if details.kind_of? String if details indent = " " $stderr.puts msg+":" $stderr.puts indent + details.join("\n"+indent) else $stderr.puts msg end end def print_records fields, data, heading=nil raise NotImplementedError end end end