method

licenses

ruby latest stable - Class: Bundler::CLI

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

licenses()
public

No documentation available.

# File lib/bundler/cli.rb, line 514
    def licenses
      Bundler.load.specs.sort_by {|s| s.license.to_s }.reverse_each do |s|
        gem_name = s.name
        license  = s.license || s.licenses

        if license.empty?
          Bundler.ui.warn "#{gem_name}: Unknown"
        else
          Bundler.ui.info "#{gem_name}: #{license}"
        end
      end
    end