Storable
# File lib/stella/report.rb, line 32 def load(name) @plugins[name] end
# File lib/stella/report.rb, line 372 def postprocess self.class.plugins.each_pair do |name,klass| val = klass.from_hash(self.send(name)) self.send("#{name}=", val) end # When we load a report from a hash, some plugin # attributes need to be recontituted from a hash as well. (self.content.log || []).collect! { |v| Stella::Log::HTTP.from_hash(v) } end
Generated with the Darkfish Rdoc Generator 2.