Class: Babeltrace2Gen::BTFieldClass::Variant::WithSelectorField::Option
- Inherits:
-
Option
- Object
- Option
- Babeltrace2Gen::BTFieldClass::Variant::WithSelectorField::Option
- Defined in:
- lib/metababel/bt2_stream_classes_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.
782 783 784 785 |
# File 'lib/metababel/bt2_stream_classes_generator.rb', line 782 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.
780 781 782 |
# File 'lib/metababel/bt2_stream_classes_generator.rb', line 780 def ranges @ranges end |