Class: EacLauncher::Stereotypes::Rails
- Inherits:
-
Object
- Object
- EacLauncher::Stereotypes::Rails
- Includes:
- EacLauncher::Stereotype
- Defined in:
- lib/eac_launcher/stereotypes/rails.rb
Class Method Summary collapse
Methods included from EacLauncher::Stereotype
git_stereotypes, included, nogit_stereotypes
Class Method Details
.color ⇒ Object
15 16 17 |
# File 'lib/eac_launcher/stereotypes/rails.rb', line 15 def color :magenta end |
.match?(path) ⇒ Boolean
11 12 13 |
# File 'lib/eac_launcher/stereotypes/rails.rb', line 11 def match?(path) File.exist?(path.real.subpath('config.ru')) && path.real.basename != 'dummy' end |