Sha256: 7449472b91e2969135430d8bee109beec9ed278508cbef86e33720bdfc1965f8
Contents?: true
Size: 271 Bytes
Versions: 2
Compression:
Stored size: 271 Bytes
Contents
require 'sane' class FasterGemScripts def self.overwrite full_path contents_should_be = File.read __dir__ + '/template' File.write(full_path, contents_should_be) bin_loc = full_path + '_bin_location' File.delete(bin_loc) if File.exist?(bin_loc) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faster_gem_script-0.1.2 | lib/faster_gem_scripts.rb |
faster_gem_script-0.1.1 | lib/faster_gem_scripts.rb |