Class: Prickle::Capybara::XPath::ContainsValue

Inherits:
Expression
  • Object
show all
Defined in:
lib/prickle/capybara/xpath/expression.rb

Constant Summary

Constants inherited from Expression

Expression::CONTAINS, Expression::SEPARATOR, Expression::TEXT_IDENTIFIER

Instance Method Summary collapse

Methods inherited from Expression

#initialize

Constructor Details

This class inherits a constructor from Prickle::Capybara::XPath::Expression

Instance Method Details

#to_sObject



38
39
40
# File 'lib/prickle/capybara/xpath/expression.rb', line 38

def to_s
  "contains(#{attribute}, '#{@value}')"
end