Class: Babeltrace2Gen::BTFieldClass::Variant::WithSelectorField::Option
- Inherits:
-
Option
- Object
- Option
- Babeltrace2Gen::BTFieldClass::Variant::WithSelectorField::Option
- Defined in:
- lib/metababel/bt2_trace_class_generator.rb
Instance Attribute Summary collapse
-
#ranges ⇒ Object
readonly
Returns the value of attribute ranges.
Attributes inherited from Option
Instance Method Summary collapse
-
#initialize(parent:, name:, field_class:, ranges:) ⇒ Option
constructor
A new instance of Option.
Constructor Details
#initialize(parent:, name:, field_class:, ranges:) ⇒ Option
Returns a new instance of Option.
945 946 947 948 |
# File 'lib/metababel/bt2_trace_class_generator.rb', line 945 def initialize(parent:, name:, field_class:, ranges:) @ranges = ranges super(parent: parent, name: name, field_class: field_class) end |
Instance Attribute Details
#ranges ⇒ Object (readonly)
Returns the value of attribute ranges.
943 944 945 |
# File 'lib/metababel/bt2_trace_class_generator.rb', line 943 def ranges @ranges end |