summaryrefslogtreecommitdiffstats
path: root/ruby/hex-to-bin.rb
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2015-06-06 19:18:07 +0200
committercpldcpu <cpldcpu@gmail.com>2015-06-06 19:18:07 +0200
commitf0d344d2686628c84f9ce860ac5f276909a0d44a (patch)
tree0e83ce72e51e34dde8a1c7fad8f4205a170cbcb6 /ruby/hex-to-bin.rb
parent616f5810f1ba98f3f963e4e8b947ad3c6bd9ea57 (diff)
downloadmicronucleus-f0d344d2686628c84f9ce860ac5f276909a0d44a.tar.gz
micronucleus-f0d344d2686628c84f9ce860ac5f276909a0d44a.tar.bz2
micronucleus-f0d344d2686628c84f9ce860ac5f276909a0d44a.zip
cleanup: Temporarily removed ruby and upload
Diffstat (limited to 'ruby/hex-to-bin.rb')
-rw-r--r--ruby/hex-to-bin.rb9
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