diff options
author | Tim <cpldcpu@gmail.com> | 2015-06-06 22:40:52 +0200 |
---|---|---|
committer | Tim <cpldcpu@gmail.com> | 2015-06-06 22:40:52 +0200 |
commit | 1548e70077127c079a801c396e2d790763b23e08 (patch) | |
tree | 233cd87a07fd1fdbb91d710e9870dd9a28111d2b /ruby/hex-to-bin.rb | |
parent | 21d57991d6b321e1cc3690df9addb3b26e4145aa (diff) | |
parent | f0bb13678d45c2c87fb3439aef50e92de1f0e52b (diff) | |
download | micronucleus-1548e70077127c079a801c396e2d790763b23e08.tar.gz micronucleus-1548e70077127c079a801c396e2d790763b23e08.tar.bz2 micronucleus-1548e70077127c079a801c396e2d790763b23e08.zip |
Merge pull request #43 from micronucleus/testing-V2-New
First release of V2.0 to master.
Diffstat (limited to 'ruby/hex-to-bin.rb')
-rw-r--r-- | ruby/hex-to-bin.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ruby/hex-to-bin.rb b/ruby/hex-to-bin.rb deleted file mode 100644 index 528a50f..0000000 --- a/ruby/hex-to-bin.rb +++ /dev/null @@ -1,9 +0,0 @@ -require_relative "../ruby/micronucleus.rb" - -# just converts a hex file to a binary file -program = HexProgram.new open ARGV.first - -File.open ARGV.first.split('/').last.sub(/\.hex$/, '') + '.raw', 'w' do |file| - file.write program.binary - file.close -end |