Class: Test::Right::WidgetProxy
- Inherits:
-
Object
- Object
- Test::Right::WidgetProxy
- Defined in:
- lib/test/right/widget_proxy.rb
Instance Method Summary collapse
-
#initialize(klass, name) ⇒ WidgetProxy
constructor
A new instance of WidgetProxy.
- #new(driver) ⇒ Object
Constructor Details
#initialize(klass, name) ⇒ WidgetProxy
Returns a new instance of WidgetProxy.
4 5 6 7 |
# File 'lib/test/right/widget_proxy.rb', line 4 def initialize(klass, name) @klass = klass @name = name end |
Instance Method Details
#new(driver) ⇒ Object
9 10 11 |
# File 'lib/test/right/widget_proxy.rb', line 9 def new(driver) @klass.new(driver, @name) end |