APIdock / Ruby
/
Browse About
method

new

ruby latest stable - Class: Bundler::Molinillo::NoSuchDependencyError

Method not available on this version

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

new(dependency, required_by = [])
public

Initializes a new error with the given missing dependency. @param [Object] dependency @see {#dependency} @param [Array] required_by @see {#required_by}

# File lib/bundler/vendor/molinillo/lib/molinillo/errors.rb, line 19
    def initialize(dependency, required_by = [])
      @dependency = dependency
      @required_by = required_by.uniq
      super()
    end

Related methods

  • Instance methods
  • message
  • Class methods
  • new
APIdock API Documentation Browser

Track developer experience with Swarmia's DX Core 4 metrics.

© 2026 APIdock