Class: Contracts::Builtin::Args
- Inherits:
-
SplatArgs
- Object
- CallableClass
- SplatArgs
- Contracts::Builtin::Args
- Defined in:
- lib/contracts/builtin_contracts.rb
Overview
for compatibility
Instance Attribute Summary
Attributes inherited from SplatArgs
Instance Method Summary collapse
-
#initialize(contract) ⇒ Args
constructor
A new instance of Args.
Methods inherited from SplatArgs
Methods inherited from CallableClass
Constructor Details
#initialize(contract) ⇒ Args
Returns a new instance of Args.
337 338 339 340 |
# File 'lib/contracts/builtin_contracts.rb', line 337 def initialize(contract) puts "DEPRECATION WARNING: \nContract::Args was renamed to Contract::SplatArgs, please update your before the next major version" @contract = contract end |