Class: RSGem::Tasks::AddCodeAnalysis

Inherits:
Base
  • Object
show all
Defined in:
lib/rsgem/tasks/add_code_analysis.rb

Constant Summary collapse

OUTPUT =
OutputStruct.new(name: 'Add code analysis')

Instance Attribute Summary

Attributes inherited from Base

#args, #context

Instance Method Summary collapse

Methods inherited from Base

#call, #initialize

Methods included from Output

#with_output

Constructor Details

This class inherits a constructor from RSGem::Tasks::Base

Instance Method Details

#performObject



8
9
10
11
12
# File 'lib/rsgem/tasks/add_code_analysis.rb', line 8

def perform
  File.open(context.rakefile_path, 'w') do |file|
    file.puts rakefile
  end
end