Class: Attractor::RubyDetector
- Inherits:
-
BaseDetector
- Object
- BaseDetector
- Attractor::RubyDetector
- Defined in:
- lib/attractor/detectors/ruby_detector.rb
Instance Method Summary collapse
Instance Method Details
#detect ⇒ Object
3 4 5 |
# File 'lib/attractor/detectors/ruby_detector.rb', line 3 def detect gemfile_exists? end |
#gemfile_exists? ⇒ Boolean
7 8 9 |
# File 'lib/attractor/detectors/ruby_detector.rb', line 7 def gemfile_exists? File.exist? File.("Gemfile", Dir.pwd) end |