Class: Avm::Projects::Stereotypes::RailsApplication
- Inherits:
-
Object
- Object
- Avm::Projects::Stereotypes::RailsApplication
show all
- Includes:
- Avm::Projects::Stereotype
- Defined in:
- lib/avm/projects/stereotypes/rails_application.rb
Class Method Summary
collapse
git_stereotypes, included, nogit_stereotypes
Class Method Details
.color ⇒ Object
16
17
18
|
# File 'lib/avm/projects/stereotypes/rails_application.rb', line 16
def color
:magenta
end
|
.match?(path) ⇒ Boolean
12
13
14
|
# File 'lib/avm/projects/stereotypes/rails_application.rb', line 12
def match?(path)
File.exist?(path.real.subpath('config.ru')) && path.real.basename != 'dummy'
end
|