Class: Rucoa::Definitions::Base
- Inherits:
-
Object
- Object
- Rucoa::Definitions::Base
- Defined in:
- lib/rucoa/definitions/base.rb
Direct Known Subclasses
ConstantDefinition, MethodDefinition, MethodParameterDefinition
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(description:, location:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(description:, location:) ⇒ Base
Returns a new instance of Base.
14 15 16 17 18 19 20 |
# File 'lib/rucoa/definitions/base.rb', line 14 def initialize( description:, location: ) @description = description @location = location end |
Instance Attribute Details
#description ⇒ String? (readonly)
7 8 9 |
# File 'lib/rucoa/definitions/base.rb', line 7 def description @description end |
#location ⇒ Rucoa::Location?
10 11 12 |
# File 'lib/rucoa/definitions/base.rb', line 10 def location @location end |