Sha256: 51b8b94104fc99e8a1fa2206e1036d7eb0047b99a85426ddd8bcc54ba80e0ba4
Contents?: true
Size: 596 Bytes
Versions: 2
Compression:
Stored size: 596 Bytes
Contents
put_target_file("INST/test.txt", "this is a string test") file = get_target_file("INST/test.txt") puts file.read file.unlink delete_target_file("INST/test.txt") save_file = Tempfile.new('test') save_file.write("this is a Io test") save_file.rewind put_target_file("INST/test.txt", save_file) save_file.unlink file = get_target_file("INST/test.txt") puts file.read file.unlink delete_target_file("INST/test.txt") put_target_file("INST/test.bin", "\x00\x01\x02\x03\xFF\xEE\xDD\xCC") file = get_target_file("INST/test.bin") puts file.read.formatted file.unlink delete_target_file("INST/test.bin")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cosmosc2-demo-5.0.2 | targets/INST/procedures/target_file.rb |
cosmosc2-demo-5.0.2.pre.beta2 | targets/INST/procedures/target_file.rb |