Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created July 13, 2009 16:25
Show Gist options
  • Save jpemberthy/146241 to your computer and use it in GitHub Desktop.
Save jpemberthy/146241 to your computer and use it in GitHub Desktop.
>> @selection.text
=> "jaroslav writes \"The University of Wisconsin is attempting to update a payroll system they have had in place since 1975, but spent $28.4 million in a 2004 attempt with no results, and now is experiencing new overruns in cost and time after \"not hav[ing] the full picture of how complex this project would be\". The current estimate of the redesign is $12 million and years of further work on top of the money already spent.\""
>> doc.search('//' + search_path).first.text
=> "jaroslav writes \"The\nUniversity of Wisconsin is attempting to update a payroll system they\nhave had in place since 1975, but spent $28.4 million in a 2004 attempt\nwith no results, and now is experiencing new overruns in cost and time\nafter \"not hav[ing] the full picture of how complex this project would\nbe\". The current estimate of the redesign is $12 million and years of further work on top of the money already spent.\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment