Skip to content

Instantly share code, notes, and snippets.

@cupakromer
Created November 11, 2013 20:19
Show Gist options
  • Save cupakromer/7419680 to your computer and use it in GitHub Desktop.
Save cupakromer/7419680 to your computer and use it in GitHub Desktop.
tmp tbd
def load_xml(input)
File.open(input) do |f|
Nokogiri::XML(f).search('rate').map(&:text).map(&:split)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment