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

use struct for processes list #744

Merged
merged 2 commits into from
May 13, 2016
Merged

use struct for processes list #744

merged 2 commits into from
May 13, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented May 13, 2016

we know all the fields + struct is fully compatible to the curren hash implementation

this gives us access to accessor methods:

describe processes.list[0] do
  its('user') { ... }
end

without method_missing or analogous

as originally proposed by @alexpop in #743
Kudos!!

@arlimus arlimus added the Type: Enhancement Improves an existing feature label May 13, 2016
we know all the fields + struct is fully compatible to the curren hash implementation
@alexpop
Copy link
Contributor

alexpop commented May 13, 2016

really nice Dom, thanks!

@alexpop alexpop merged commit 6f7be97 into master May 13, 2016
@alexpop alexpop deleted the dr/processes-struct branch May 13, 2016 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants