ahoward / macaddr

cross platform mac address determination for ruby
Other
47 stars 41 forks source link

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

Open nofxx opened 9 years ago

nofxx commented 9 years ago

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 commented 8 years ago

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