Class: Ree::Contracts::CalledArgsValidator::Arg

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

Instance Attribute Summary collapse

Instance Attribute Details

#contractObject

Returns the value of attribute contract

Returns:

  • (Object)

    the current value of contract



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

def contract
  @contract
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end

#validatorObject

Returns the value of attribute validator

Returns:

  • (Object)

    the current value of validator



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

def validator
  @validator
end