Class: BiDiGenerate::Enum Private

Inherits:
Struct
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#constant_name ⇒ Object

Returns the value of attribute constant_name

Returns:

  • (Object) —

    the current value of constant_name



344
345
346
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 344

def constant_name
  @constant_name
end

#pairs ⇒ Object

Returns the value of attribute pairs

Returns:

  • (Object) —

    the current value of pairs



344
345
346
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 344

def pairs
  @pairs
end

#primitive ⇒ Object

Returns the value of attribute primitive

Returns:

  • (Object) —

    the current value of primitive



344
345
346
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 344

def primitive
  @primitive
end

#spec_href ⇒ Object

Returns the value of attribute spec_href

Returns:

  • (Object) —

    the current value of spec_href



344
345
346
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 344

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.



345
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 345

def rbs_value_type = RBS_VALUE_TYPES.fetch(primitive, 'untyped')