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

#list doesn't behave as it should? #26

Open
nofxx opened this issue Dec 10, 2014 · 1 comment
Open

#list doesn't behave as it should? #26

nofxx opened this issue Dec 10, 2014 · 1 comment

Comments

@nofxx
Copy link

nofxx commented Dec 10, 2014

Forgot to thank you for this gem ;)

Mac.addr returns a string. "mac", and the singlemethod #list is not applied to it.
So I need: Mac.addr.respond_to?(:list) . Can't get any uglier.

Also, a better approach here: https://github.com/tsilen/macaddr
The singleton method #list really doesn't make sense.

@jrmhaig
Copy link

jrmhaig commented May 25, 2016

Yes, please fix the list of all Mac addresses. Mac.addr.list does not work for Ruby 2.1.0 and later.

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 a pull request may close this issue.

2 participants