Class: Contracts::Condition

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

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



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

def block
  @block
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



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

def description
  @description
end