Class: BiDiGenerate::Enum Private
- Inherits:
-
Struct
- Object
- Struct
- BiDiGenerate::Enum
- Defined in:
- lib/selenium/webdriver/bidi/support/bidi_generate.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
constant_name is the SCREAMING_SNAKE hash name; pairs are [symbol_key, wire_value] tuples; primitive is the schema's declared value type. spec_href links to the type's definition in the live spec (nil when the schema has none).
Instance Attribute Summary collapse
-
#constant_name ⇒ Object
Returns the value of attribute constant_name.
-
#pairs ⇒ Object
Returns the value of attribute pairs.
-
#primitive ⇒ Object
Returns the value of attribute primitive.
-
#spec_href ⇒ Object
Returns the value of attribute spec_href.
Instance Method Summary collapse
- #rbs_value_type ⇒ Object private
Instance Attribute Details
#constant_name ⇒ Object
Returns the value of attribute constant_name
320 321 322 |
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320 def constant_name @constant_name end |
#pairs ⇒ Object
Returns the value of attribute pairs
320 321 322 |
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320 def pairs @pairs end |
#primitive ⇒ Object
Returns the value of attribute primitive
320 321 322 |
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320 def primitive @primitive end |
#spec_href ⇒ Object
Returns the value of attribute spec_href
320 321 322 |
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320 def spec_href @spec_href end |
Instance Method Details
#rbs_value_type ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
321 |
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 321 def rbs_value_type = RBS_VALUE_TYPES.fetch(primitive, 'untyped') |