attr_accessor :project_types
# File lib/compass/app_integration.rb, line 19 def default? @project_types.keys === DEAFULT_PROJECT_TYPES.keys end
# File lib/compass/app_integration.rb, line 11 def init @project_types ||= DEAFULT_PROJECT_TYPES.dup end
# File lib/compass/app_integration.rb, line 23 def lookup(type) unless @project_types[type].nil? eval @project_types[type] else raise Compass::Error, "No application integration exists for #{type}" end end
# File lib/compass/app_integration.rb, line 15 def project_types @project_types end
# File lib/compass/app_integration.rb, line 31 def register(type, klass) @project_types[type] = klass end