Sha256: 598aa052d423e87464f0f6a6776cbfaa86ff24cf7bbdb1b5e002983b4443ca60

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

require 'thor'

module Bundler
  module Audit
    class CLI < ::Thor
      module Formats
        module Bad
          def print_report(report,output=$stdout)
            say "I am a bad format!", :red
          end
        end

        Formats.register :incorrect, Bad
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bundler-audit-0.9.2 spec/fixtures/lib/bundler/audit/cli/formats/bad.rb
bundler-audit-0.9.1 spec/fixtures/lib/bundler/audit/cli/formats/bad.rb
bundler-audit-0.9.0.1 spec/fixtures/lib/bundler/audit/cli/formats/bad.rb
bundler-audit-0.9.0 spec/fixtures/lib/bundler/audit/cli/formats/bad.rb