1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

strip text

This commit is contained in:
Jon Leighton 2012-01-11 00:20:43 +00:00
parent 1d2726d182
commit baff5e1de5

View file

@ -21,7 +21,7 @@ module Capybara::Poltergeist
end
def text
command :text
command(:text).strip.gsub(/\s+/, ' ')
end
def [](name)