class XPath::Renderer
Public Instance Methods
where(on, condition)
click to toggle source
# File lib/capybara/selector/selector.rb, line 11 def where(on, condition) condition = condition.to_s if !condition.empty? "#{on}[#{condition}]" else on.to_s end end