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

Print an array of all running applications with their pids #12

Merged
merged 1 commit into from
Mar 29, 2018

Conversation

LauraAubin
Copy link
Owner

@LauraAubin LauraAubin commented Mar 29, 2018

What does this do?

Part of #5.

This prints the array of running applications:

image

How is this accomplished?

Instance methods!

A class definition is like the schema in Rails. Instances are like records/objects. Instance methods can be called on these instances, similar to how you can call .new on a record like record.new.

Instance methods are defined with class definitions.

@LauraAubin LauraAubin merged commit 09bccc4 into master Mar 29, 2018
@LauraAubin LauraAubin deleted the array-of-all-pids branch March 29, 2018 00:51
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.

1 participant