lib/bindata.rb in bindata-1.8.3 vs lib/bindata.rb in bindata-2.0.0

- old
+ new

@@ -1,7 +1,11 @@ # BinData -- Binary data manipulator. # Copyright (c) 2007 - 2014 Dion Mendel. +if RUBY_VERSION <= "1.9" + fail "BinData requires ruby >= 1.9.3. Use BinData version 1.8.x instead" +end + require 'bindata/version' require 'bindata/array' require 'bindata/bits' require 'bindata/buffer' require 'bindata/choice'