lib/io_streams/tabular/parser/fixed.rb in iostreams-1.6.2 vs lib/io_streams/tabular/parser/fixed.rb in iostreams-1.7.0
- old
+ new
@@ -144,10 +144,10 @@
class Column
TYPES = %i[string integer float].freeze
attr_reader :key, :size, :type, :decimals
- def initialize(key: nil, size:, type: :string, decimals: 2)
+ def initialize(size:, key: nil, type: :string, decimals: 2)
@key = key
@size = size == :remainder ? -1 : size.to_i
@type = type.to_sym
@decimals = decimals