Sha256: 00e1ec02565173c4ea9da98fa6a7565e5c779be0e42fbf5fb3dc974f9fc8bf63
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module RSGem module Tasks class AddCodeAnalysis attr_reader :context def initialize(context:) @context = context end def add File.open(context.rakefile_path, 'w') do |file| file.puts rakefile end end private def rakefile @rakefile ||= File.read("#{File.dirname(__FILE__)}/../support/Rakefile") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems