Method: CloudFlock::Task::ServerProfile#initialize

Defined in:
lib/cloudflock/task/server-profile.rb

#initialize(shell) ⇒ ServerProfile

Public: Initialize the Profile object.

shell - An SSH object which is open to the host which will be profiled.



22
23
24
25
26
27
28
29
# File 'lib/cloudflock/task/server-profile.rb', line 22

def initialize(shell)
  @shell    = shell
  @cpe      = nil
  @warnings = []
  @info     = []

  build
end