# File common/lib/symbiosis/config_file.rb, line 93 def generate_config( templ = self.template ) # # Read the template file. # content = File.open( templ, "r" ).read() # # Create a template object, and add a newline for good measure. # config = self.class.erb.new( content ).result( binding ) # # Return our template + MD5. # return config + [self.comment_char,"Checksum MD5",Digest::MD5.new.hexdigest(config)].join(" ")+"\n" end