/usr/share/pcsd/wizard.rb is in pcs 0.9.149-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | class PCSDWizard
def self.getchildren
classes=[]
ObjectSpace.each_object do |klass|
next unless Module === klass
classes << klass if PCSDWizard > klass
end
classes
end
def self.getAllWizards
getchildren
end
def self.getWizard(wizard)
getchildren.each {|c|
if c.to_s == wizard.to_s
return Object.const_get(wizard.to_s).new
end
}
return nil
end
end
|