class Attractor::RubyDetector

Public Instance Methods

detect() click to toggle source
# File lib/attractor/detectors/ruby_detector.rb, line 3
def detect
  gemfile_exists?
end
gemfile_exists?() click to toggle source
# File lib/attractor/detectors/ruby_detector.rb, line 7
def gemfile_exists?
  File.exist? File.expand_path("Gemfile", Dir.pwd)
end