Module: Trio::ProjectExist
- Included in:
- CLI
- Defined in:
- lib/trio/helpers.rb
Instance Method Summary collapse
Instance Method Details
#project?(project) ⇒ Boolean
20 21 22 23 24 25 26 27 |
# File 'lib/trio/helpers.rb', line 20 def project?(project) if !File.directory?( project ) puts "" puts "obi: The project [ #{project} ] doesn't exist" puts "" exit end end |