Class: Puppeteer::Bidi::ElementHandle::Point
- Inherits:
-
Data
- Object
- Data
- Puppeteer::Bidi::ElementHandle::Point
- Defined in:
- lib/puppeteer/bidi/element_handle.rb,
sig/puppeteer/bidi/element_handle.rbs
Overview
Point data class representing a coordinate
Instance Attribute Summary collapse
-
#x ⇒ Object
readonly
Returns the value of attribute x.
-
#y ⇒ Object
readonly
Returns the value of attribute y.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#x ⇒ Object (readonly)
Returns the value of attribute x
14 15 16 |
# File 'lib/puppeteer/bidi/element_handle.rb', line 14 def x @x end |
#y ⇒ Object (readonly)
Returns the value of attribute y
14 15 16 |
# File 'lib/puppeteer/bidi/element_handle.rb', line 14 def y @y end |
Class Method Details
.members ⇒ [ :x, :y ]
36 |
# File 'sig/puppeteer/bidi/element_handle.rbs', line 36
def self.members: () -> [ :x, :y ]
|
.new(x, y) ⇒ instance .new(x:, y:) ⇒ instance
33 34 |
# File 'sig/puppeteer/bidi/element_handle.rbs', line 33
def self.new: (untyped x, untyped y) -> instance
| (x: untyped, y: untyped) -> instance
|
Instance Method Details
#members ⇒ [ :x, :y ]
38 |
# File 'sig/puppeteer/bidi/element_handle.rbs', line 38
def members: () -> [ :x, :y ]
|