Sha256: 4ffbeb5adc0cc233aa1ccf9f1ab022b8017cc2a20ade3442f195ed91502714c2
Contents?: true
Size: 466 Bytes
Versions: 11
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true module Spandx module Cli class Printer def match?(_format) raise ::Spandx::Error, :match? end def print_header(io); end def print_line(dependency, io) io.puts(dependency.to_s) end def print_footer(io); end class << self include Core::Registerable def for(format) find { |x| x.match?(format) } || new end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems