class Contracts::ContractsNotIncluded
Error issued when user haven’t included Contracts
in original class but used Contract
definition in singleton class
Provides useful description for user of the gem and an example of correct usage.
Constants
- DEFAULT_MESSAGE
Attributes
Public Class Methods
Source
# File lib/contracts/errors.rb, line 69 def initialize(message = DEFAULT_MESSAGE) super @message = message end
Calls superclass method