29 lines
385 B
Ruby
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
|