Exception: ActiveMocker::Mock::UpdateMocksError

Inherits:
Exception
  • Object
show all
Defined in:
lib/active_mocker/mock/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, mock_version, gem_version) ⇒ UpdateMocksError

Returns a new instance of UpdateMocksError.



30
31
32
# File 'lib/active_mocker/mock/exceptions.rb', line 30

def initialize(name, mock_version, gem_version)
  super("#{name} was built with #{mock_version} but the gem version is #{gem_version}. Run `rake active_mocker:build` to update.")
end