Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

.each not working on a links collection #24

@cimm

Description

@cimm

In irb I try to loop over a list of all the links on the Google homepage:

server = Culerity::run_server
browser = Culerity::RemoteBrowserProxy.new server
browser.goto("http://www.google.com")
browser.links.each do |link|
   link.inspect
end

The each block throws the following error:

warning: multiple values for a block parameter (0 for 1)
    from /Users/john/.bundle/ruby/1.8/gems/culerity-0.2.10/lib/culerity/remote_object_proxy.rb:65
=> 28

It seems Culerity is forwarding the method in the remote_object_proxy where it fails for some reason.

Using Rails 3 beta 4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions