fluke/devops-service/core/devops-application.rb

27 lines
326 B
Ruby
Raw Normal View History

2015-07-16 12:54:16 +03:00
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