A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.rubydoc.info/github/teamcapybara/capybara/Capybara/RSpecMatchers/SpatialSugar below:

SpatialSugar – Documentation for teamcapybara/capybara (master) – RubyDoc.info

Module: Capybara::RSpecMatchers::SpatialSugar Instance Method Summary collapse Instance Method Details #above(el) ⇒ Object
6
7
8
9
# File 'lib/capybara/rspec/matchers/spatial_sugar.rb', line 6

def above(el)
  options[:above] = el
  self
end
#below(el) ⇒ Object
11
12
13
14
# File 'lib/capybara/rspec/matchers/spatial_sugar.rb', line 11

def below(el)
  options[:below] = el
  self
end
#left_of(el) ⇒ Object
16
17
18
19
# File 'lib/capybara/rspec/matchers/spatial_sugar.rb', line 16

def left_of(el)
  options[:left_of] = el
  self
end
#near(el) ⇒ Object
26
27
28
29
# File 'lib/capybara/rspec/matchers/spatial_sugar.rb', line 26

def near(el)
  options[:near] = el
  self
end
#right_of(el) ⇒ Object
21
22
23
24
# File 'lib/capybara/rspec/matchers/spatial_sugar.rb', line 21

def right_of(el)
  options[:right_of] = el
  self
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4