lib/rbbt/persist.rb in rbbt-util-5.23.23 vs lib/rbbt/persist.rb in rbbt-util-5.23.24

- old
+ new

@@ -107,10 +107,10 @@ when :fwt FixWidthTable.get(path) when :string, :text Open.read(path) when :binary - f = Open.open(path, 'rb') + f = Open.open(path, :mode => 'rb') res = f.read f.close res.force_encoding("ASCII-8BIT") if res.respond_to? :force_encoding res when :array