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_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



527
528
529
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 527

def method_name
  @method_name
end

#rbs_argsObject

Returns the value of attribute rbs_args

Returns:

  • (Object)

    the current value of rbs_args



527
528
529
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 527

def rbs_args
  @rbs_args
end

#type_nameObject

Returns the value of attribute type_name

Returns:

  • (Object)

    the current value of type_name



527
528
529
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 527

def type_name
  @type_name
end

#unionObject

Returns the value of attribute union

Returns:

  • (Object)

    the current value of union



527
528
529
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 527

def union
  @union
end

#vendorObject

Returns the value of attribute vendor

Returns:

  • (Object)

    the current value of vendor



527
528
529
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 527

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)


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

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)


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

def vendor? = vendor