Exception: Teaspoon::UnspecifiedDependencies

Inherits:
Error
  • Object
show all
Defined in:
lib/teaspoon/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg_or_options) ⇒ UnspecifiedDependencies

Returns a new instance of UnspecifiedDependencies.



71
72
73
74
75
# File 'lib/teaspoon/exceptions.rb', line 71

def initialize(msg_or_options)
  super(build_message(msg_or_options) do |options|
    "Missing dependencies: expected framework \"#{options[:framework]}\" (#{options[:version]}) to specify the `dependencies` option when registering."
  end)
end