class Deptree::InvalidArgumentError

Public Class Methods

new(arguments) click to toggle source
Calls superclass method
# File lib/deptree/errors.rb, line 5
def initialize(arguments)
  args = arguments.map(&:to_s).join(', ')
  super("Dependency takes either a String or a Hash with a single key-value pair. Got: #{args}")
end