Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created April 13, 2010 03:23
Show Gist options
  • Save metaskills/364279 to your computer and use it in GitHub Desktop.
Save metaskills/364279 to your computer and use it in GitHub Desktop.
p = "<html>\n<head>\n<title>Foo</title>\n</head>\n<body>\n<div></div>\n<div></div>\n</body>\n</html>"
Harmony::Page.new(p)
ArgumentError: wrong number of arguments (0 for 1)
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/envjs-0.3.1/lib/envjs/runtime.rb:325:in `load'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/envjs-0.3.1/lib/envjs/runtime.rb:325:in `extended'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/envjs-0.3.1/lib/envjs/runtime.rb:11:in `instance_eval'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/envjs-0.3.1/lib/envjs/runtime.rb:11:in `extended'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/harmony-0.5.5/lib/harmony/page.rb:22:in `extend'
from /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/harmony-0.5.5/lib/harmony/page.rb:22
from (irb):11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment