class ElementLoader
Public Class Methods
new(client)
click to toggle source
Calls superclass method
# File lib/shot_mvc/element_loader.rb, line 14 def initialize(client) super(client) @type = 'element' end
Public Instance Methods
get(selector)
click to toggle source
# File lib/shot_mvc/element_loader.rb, line 19 def get(selector) Element.from_app_and_selector @client, selector end