Class: Selenium::WebDriver::Interactions::Interaction Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Inherits: | Object |
Defined in: | rb/lib/selenium/webdriver/common/interactions/interaction.rb |
Overview
Superclass for classes defining actions Do not initialize directly, only use subclass
Class Method Summary
- .new(source) ⇒ Interaction constructor Internal use only
Instance Attribute Summary
- #type readonly Internal use only
Instance Method Summary
- #assert_source(_source) Internal use only
Constructor Details
.new(source) ⇒ Interaction
# File 'rb/lib/selenium/webdriver/common/interactions/interaction.rb', line 33
def initialize(source) assert_source(source) end
Instance Attribute Details
#type (readonly)
[ GitHub ]# File 'rb/lib/selenium/webdriver/common/interactions/interaction.rb', line 31
attr_reader :type
Instance Method Details
#assert_source(_source)
# File 'rb/lib/selenium/webdriver/common/interactions/interaction.rb', line 37
def assert_source(_source) raise NotImplementedError, 'subclass responsibility' end