lib/compass/app_integration.rb in compass-sourcemaps-0.12.3.sourcemaps.a4836f1 vs lib/compass/app_integration.rb in compass-sourcemaps-0.12.4.sourcemaps.a4836f1

- old
+ new

@@ -1,39 +1,39 @@ -require "compass/app_integration/stand_alone" - -module Compass - module AppIntegration - module Helpers - #attr_accessor :project_types - DEAFULT_PROJECT_TYPES = { - :stand_alone => "Compass::AppIntegration::StandAlone" - } - - def init - @project_types ||= DEAFULT_PROJECT_TYPES.dup - end - - def project_types - @project_types - end - - def default? - @project_types.keys === DEAFULT_PROJECT_TYPES.keys - end - - def lookup(type) - unless @project_types[type].nil? - eval @project_types[type] - else - raise Compass::Error, "No application integration exists for #{type}" - end - end - - def register(type, klass) - @project_types[type] = klass - end - - end - extend Helpers - init - end -end +require "compass/app_integration/stand_alone" + +module Compass + module AppIntegration + module Helpers + #attr_accessor :project_types + DEAFULT_PROJECT_TYPES = { + :stand_alone => "Compass::AppIntegration::StandAlone" + } + + def init + @project_types ||= DEAFULT_PROJECT_TYPES.dup + end + + def project_types + @project_types + end + + def default? + @project_types.keys === DEAFULT_PROJECT_TYPES.keys + end + + def lookup(type) + unless @project_types[type].nil? + eval @project_types[type] + else + raise Compass::Error, "No application integration exists for #{type}" + end + end + + def register(type, klass) + @project_types[type] = klass + end + + end + extend Helpers + init + end +end