Class: Contracts::ExceptionRule

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

Instance Attribute Summary collapse

Instance Attribute Details

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



291
292
293
# File 'lib/contracts.rb', line 291

def condition
  @condition
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



291
292
293
# File 'lib/contracts.rb', line 291

def handler
  @handler
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



291
292
293
# File 'lib/contracts.rb', line 291

def type
  @type
end