Class: Contracts::Invariant
- Inherits:
-
Struct
- Object
- Struct
- Contracts::Invariant
- Defined in:
- lib/contracts.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#inherited_from ⇒ Object
Returns the value of attribute inherited_from.
-
#options ⇒ Object
Returns the value of attribute options.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#predicate ⇒ Object
Returns the value of attribute predicate.
-
#source_location ⇒ Object
Returns the value of attribute source_location.
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
175 176 177 |
# File 'lib/contracts.rb', line 175 def description @description end |
#id ⇒ Object
Returns the value of attribute id
175 176 177 |
# File 'lib/contracts.rb', line 175 def id @id end |
#inherited_from ⇒ Object
Returns the value of attribute inherited_from
175 176 177 |
# File 'lib/contracts.rb', line 175 def inherited_from @inherited_from end |
#options ⇒ Object
Returns the value of attribute options
175 176 177 |
# File 'lib/contracts.rb', line 175 def @options end |
#owner ⇒ Object
Returns the value of attribute owner
175 176 177 |
# File 'lib/contracts.rb', line 175 def owner @owner end |
#predicate ⇒ Object
Returns the value of attribute predicate
175 176 177 |
# File 'lib/contracts.rb', line 175 def predicate @predicate end |
#source_location ⇒ Object
Returns the value of attribute source_location
175 176 177 |
# File 'lib/contracts.rb', line 175 def source_location @source_location end |