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_nameObject

Returns the value of attribute constant_name

Returns:

  • (Object)

    the current value of constant_name



320
321
322
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320

def constant_name
  @constant_name
end

#pairsObject

Returns the value of attribute pairs

Returns:

  • (Object)

    the current value of pairs



320
321
322
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320

def pairs
  @pairs
end

#primitiveObject

Returns the value of attribute primitive

Returns:

  • (Object)

    the current value of primitive



320
321
322
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 320

def primitive
  @primitive
end

#spec_hrefObject

Returns the value of attribute spec_href

Returns:

  • (Object)

    the current value of 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_typeObject

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')