You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove Enumerable include from Statement class (brianmario#1104)
I'm honestly not sure why this was here in the first place. Git blame
seems to suggest that maybe it was added when the class was first
created in anticipation for something that never materialized or has
since been deprecated.
As far as I can tell, `Enumerable` offers no advantages to the class
since `Statement` doesn't implement `#each`.
Here's an example of what I'm referring to
```ruby
client = Mysql2::Client.new
statement = client.prepare('select 1')
statement.first
statement.any?
statement.min
```
Also all test pass with `Enumerable` gone, so it seems reasonable to
remove it.
0 commit comments