Class: NcsNavigator::Configuration::TertiarySamplingUnit
- Inherits:
-
Struct
- Object
- Struct
- NcsNavigator::Configuration::TertiarySamplingUnit
- Defined in:
- lib/ncs_navigator/configuration/sampling_units.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#secondary_sampling_unit ⇒ Object
(also: #ssu)
Returns the value of attribute secondary_sampling_unit.
Instance Method Summary collapse
-
#initialize ⇒ TertiarySamplingUnit
constructor
A new instance of TertiarySamplingUnit.
Constructor Details
#initialize ⇒ TertiarySamplingUnit
Returns a new instance of TertiarySamplingUnit.
64 65 66 67 |
# File 'lib/ncs_navigator/configuration/sampling_units.rb', line 64 def initialize(*) super secondary_sampling_unit.tertiary_sampling_units << self end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
63 64 65 |
# File 'lib/ncs_navigator/configuration/sampling_units.rb', line 63 def id @id end |
#name ⇒ Object
Returns the value of attribute name
63 64 65 |
# File 'lib/ncs_navigator/configuration/sampling_units.rb', line 63 def name @name end |
#secondary_sampling_unit ⇒ Object Also known as: ssu
Returns the value of attribute secondary_sampling_unit
63 64 65 |
# File 'lib/ncs_navigator/configuration/sampling_units.rb', line 63 def secondary_sampling_unit @secondary_sampling_unit end |