fluke/devops-service/app/devops-application.rb
2015-06-25 11:13:46 +03:00

29 lines
385 B
Ruby

module Devops
module Application
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
end