27 lines
		
	
	
		
			326 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			326 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
|   | module Devops | ||
|  |   class Application | ||
|  | 
 | ||
|  |     @@applications = [] | ||
|  | 
 | ||
|  |     def self.inherited(base) | ||
|  |       @@applications << base.new | ||
|  |       puts "Devops application '#{base}' has been added" | ||
|  |     end | ||
|  | 
 | ||
|  |     def self.applications | ||
|  |       @@applications | ||
|  |     end | ||
|  | 
 | ||
|  |     def prepare | ||
|  | 
 | ||
|  |     end | ||
|  | 
 | ||
|  |     def init | ||
|  | 
 | ||
|  |     end | ||
|  | 
 | ||
|  |     def routes | ||
|  |     end | ||
|  |   end | ||
|  | end |