def display_gadgets(gadgets, raw)
      if raw
        show(gadgets.map(&:offset).join(' '))
      else
        show(gadgets.map(&:inspect).join("\n"))
      end
    end
def display_gadgets(gadgets, raw)
      if raw
        show(gadgets.map(&:offset).join(' '))
      else
        show(gadgets.map(&:inspect).join("\n"))
      end
    end
Writes gadgets to stdout.
 @param [Array<OneGadget::Gadget::Gadget>] gadgets
 @param [Boolean] raw
   In raw mode, only the offset of gadgets are printed.
 @return [true]