Skip to content

Instantly share code, notes, and snippets.

@tvandervossen
Forked from alloy/gist:822210
Created February 11, 2011 11:52
Show Gist options
  • Save tvandervossen/822245 to your computer and use it in GitHub Desktop.
Save tvandervossen/822245 to your computer and use it in GitHub Desktop.
class DOMNodeList
include Enumerable
def each
length.times { |i| yield item(i) }
end
end
doc = webView.mainFrameDocument
p document.querySelector('meta[name=viewport][content*=width]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment