Class: BiDiGenerate::Accessor 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.

A prefix-free accessor emitted on the Domain subclass. method_name is the snake_case accessor; type_name is the local class it fronts. Three kinds route rendering: a union accessor returns the class so its variant factories dispatch; a record accessor constructs the instance directly; a vendor accessor returns a sibling vendor domain (Moz.new(connection)). rbs_args is the record's typed new signature (nil otherwise). See build_accessors / vendor_accessors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#method_name ⇒ Object

Returns the value of attribute method_name

Returns:

  • (Object) —

    the current value of method_name



560
561
562
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 560

def method_name
  @method_name
end

#rbs_args ⇒ Object

Returns the value of attribute rbs_args

Returns:

  • (Object) —

    the current value of rbs_args



560
561
562
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 560

def rbs_args
  @rbs_args
end

#type_name ⇒ Object

Returns the value of attribute type_name

Returns:

  • (Object) —

    the current value of type_name



560
561
562
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 560

def type_name
  @type_name
end

#union ⇒ Object

Returns the value of attribute union

Returns:

  • (Object) —

    the current value of union



560
561
562
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 560

def union
  @union
end

#vendor ⇒ Object

Returns the value of attribute vendor

Returns:

  • (Object) —

    the current value of vendor



560
561
562
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 560

def vendor
  @vendor
end

Instance Method Details

#union? ⇒ Boolean

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.

Returns:

  • (Boolean)


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

def union? = union

#vendor? ⇒ Boolean

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.

Returns:

  • (Boolean)


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

def vendor? = vendor