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