Class: Eye::Controller::Load::AppDiff
- Defined in:
- lib/eye/controller/load.rb
Instance Attribute Summary collapse
-
#added_groups ⇒ Object
readonly
Returns the value of attribute added_groups.
-
#added_processes ⇒ Object
readonly
Returns the value of attribute added_processes.
-
#old_groups ⇒ Object
readonly
Returns the value of attribute old_groups.
-
#old_processes ⇒ Object
readonly
Returns the value of attribute old_processes.
Instance Method Summary collapse
-
#initialize ⇒ AppDiff
constructor
A new instance of AppDiff.
- #remove_added_processes(processes) ⇒ Object
Constructor Details
#initialize ⇒ AppDiff
Returns a new instance of AppDiff.
121 122 123 124 125 126 |
# File 'lib/eye/controller/load.rb', line 121 def initialize @old_groups = {} @old_processes = {} @added_groups = [] @added_processes = [] end |
Instance Attribute Details
#added_groups ⇒ Object (readonly)
Returns the value of attribute added_groups.
119 120 121 |
# File 'lib/eye/controller/load.rb', line 119 def added_groups @added_groups end |
#added_processes ⇒ Object (readonly)
Returns the value of attribute added_processes.
119 120 121 |
# File 'lib/eye/controller/load.rb', line 119 def added_processes @added_processes end |
#old_groups ⇒ Object (readonly)
Returns the value of attribute old_groups.
119 120 121 |
# File 'lib/eye/controller/load.rb', line 119 def old_groups @old_groups end |
#old_processes ⇒ Object (readonly)
Returns the value of attribute old_processes.
119 120 121 |
# File 'lib/eye/controller/load.rb', line 119 def old_processes @old_processes end |
Instance Method Details
#remove_added_processes(processes) ⇒ Object
128 129 130 |
# File 'lib/eye/controller/load.rb', line 128 def remove_added_processes(processes) @added_processes -= processes end |