Class: XDep::RubyGems::GemspecOutput
- Includes:
- XDep::Ruby::Helper
- Defined in:
- lib/xdep/ruby.rb
Constant Summary
Constants included from XDep::Ruby::Helper
XDep::Ruby::Helper::COMMENT, XDep::Ruby::Helper::GEMFILE, XDep::Ruby::Helper::GEMSPEC, XDep::Ruby::Helper::KNOWN_DEPENDENCIES, XDep::Ruby::Helper::SPEC_MISSING
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Output
Constructor Details
This class inherits a constructor from XDep::Output
Class Method Details
.accepts?(filename) ⇒ Boolean
104 105 106 |
# File 'lib/xdep/ruby.rb', line 104 def self.accepts?(filename) (filename =~ /\w\.gemspec\z/) != nil end |
Instance Method Details
#process(input, output) ⇒ Object
108 109 110 |
# File 'lib/xdep/ruby.rb', line 108 def process(input, output) output_ruby(input, output, GEMSPEC) end |