Class: Rucoa::Definitions::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rucoa/definitions/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description:, location:) ⇒ Base

Returns a new instance of Base.

Parameters:



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

#descriptionString? (readonly)

Returns:

  • (String, nil)


7
8
9
# File 'lib/rucoa/definitions/base.rb', line 7

def description
  @description
end

#locationRucoa::Location?

Returns:



10
11
12
# File 'lib/rucoa/definitions/base.rb', line 10

def location
  @location
end