Method: Spork::AppFramework.detect_framework_name

Defined in:
lib/spork/app_framework.rb

.detect_framework_nameObject

Iterates through all SUPPORTED_FRAMEWORKS and returns the symbolic name of the project application framework detected. Otherwise, returns :Unknown



26
27
28
29
30
31
# File 'lib/spork/app_framework.rb', line 26

def self.detect_framework_name
  SUPPORTED_FRAMEWORKS.each do |key, value|
    return key if value.call
  end
  :Unknown
end