class EacLauncher::Stereotypes::Rails

Public Class Methods

color() click to toggle source
# File lib/eac_launcher/stereotypes/rails.rb, line 15
def color
  :magenta
end
match?(path) click to toggle source
# File lib/eac_launcher/stereotypes/rails.rb, line 11
def match?(path)
  File.exist?(path.real.subpath('config.ru')) && path.real.basename != 'dummy'
end