Class: XDep::Ruby::CSV

Inherits:
CSVOutput show all
Includes:
Helper
Defined in:
lib/xdep/ruby.rb

Constant Summary

Constants included from Helper

Helper::COMMENT, Helper::GEMFILE, Helper::GEMSPEC, Helper::KNOWN_DEPENDENCIES, Helper::SPEC_MISSING

Constants inherited from CSVOutput

CSVOutput::HEADER

Class Method Summary collapse

Methods inherited from CSVOutput

#process

Methods inherited from Output

#initialize

Constructor Details

This class inherits a constructor from XDep::Output

Class Method Details

.accepts?(filename) ⇒ Boolean

Returns:

  • (Boolean)


69
70
71
# File 'lib/xdep/ruby.rb', line 69

def self.accepts?(filename)
  Bundler::GemfileOutput.accepts?(filename) || RubyGems::GemspecOutput.accepts?(filename)
end