Exception: Teaspoon::UnspecifiedFramework

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

Instance Method Summary collapse

Constructor Details

#initialize(msg_or_options) ⇒ UnspecifiedFramework

Returns a new instance of UnspecifiedFramework.



63
64
65
66
67
# File 'lib/teaspoon/exceptions.rb', line 63

def initialize(msg_or_options)
  super(build_message(msg_or_options) do |options|
    "Missing framework: expected \"#{options[:name]}\" suite to configure one using `suite.use_framework`."
  end)
end