module WithinHelpers
Public Instance Methods
with_scope(locator) { || ... }
click to toggle source
# File lib/spreewald_support/path_selector_fallbacks.rb, line 33 def with_scope(locator) locator ? within(*_selector_for(locator)) { yield } : yield end