Class: Eye::Controller::Load::AppDiff

Inherits:
Object
  • Object
show all
Defined in:
lib/eye/controller/load.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAppDiff

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_groupsObject (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_processesObject (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_groupsObject (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_processesObject (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