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



344
345
346
# File 'lib/contracts.rb', line 344

def condition
  @condition
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



344
345
346
# File 'lib/contracts.rb', line 344

def handler
  @handler
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



344
345
346
# File 'lib/contracts.rb', line 344

def type
  @type
end