Class: Ree::Contracts::CalledArgsValidator::ArgContract

Inherits:
Struct
  • Object
show all
Defined in:
lib/ree/contracts/called_args_validator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#argObject

Returns the value of attribute arg

Returns:

  • (Object)

    the current value of arg



5
6
7
# File 'lib/ree/contracts/called_args_validator.rb', line 5

def arg
  @arg
end

#contractObject

Returns the value of attribute contract

Returns:

  • (Object)

    the current value of contract



5
6
7
# File 'lib/ree/contracts/called_args_validator.rb', line 5

def contract
  @contract
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/ree/contracts/called_args_validator.rb', line 5

def type
  @type
end