Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced version of adapter #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

artemeff
Copy link
Member

@artemeff artemeff commented Oct 4, 2015

No description provided.

@@ -13,22 +13,26 @@ def initialize(scope, rql, connection)
end

def to_a
scope.run(connection)
wrap_array(scope.run(connection))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use Array[scope.run(connection)] ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nepalez look at source of wrap_array, it calls to_a for scope.run

@solnic
Copy link
Member

solnic commented Jul 26, 2016

Is there still interest in wrapping this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants