lib/dbf/table.rb in dbf-2.0.2 vs lib/dbf/table.rb in dbf-2.0.3

- old
+ new

@@ -57,10 +57,10 @@ # @param [optional String, StringIO] memo Path to the memo file or a StringIO object # @param [optional String, Encoding] encoding Name of the encoding or an Encoding object def initialize(data, memo = nil, encoding = nil) @data = open_data(data) get_header_info - @encoding = encoding if encoding && @encoding + @encoding = encoding || @encoding @memo = open_memo(data, memo) end # @return [TrueClass, FalseClass] def has_memo_file?