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

31 lines
408 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 self.root
File.expand_path(File.dirname(__FILE__) + '/..')
end
2015-07-16 12:54:16 +03:00
def prepare
end
def init
end
def routes
end
end
end