Module: CapybaraObjects::LocationMethods
- Extended by:
- ActiveSupport::Concern
- Included in:
- ComponentObject, PageObject
- Defined in:
- lib/capybara_objects/location_methods.rb
Instance Method Summary collapse
Instance Method Details
#initialize(attrs = {}) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/capybara_objects/location_methods.rb', line 11 def initialize(attrs = {}) self.locator = default_locator self.scope = [] super locator.freeze end |