lib/recite_csv/header/definition.rb in recite_csv-0.1.0 vs lib/recite_csv/header/definition.rb in recite_csv-0.1.1
- old
+ new
@@ -25,11 +25,11 @@
super
end
end
class Hash < Base
- DEFAULT_CSV_OPIONS = { headers: :first_row }.freeze
+ DEFAULT_CSV_OPTIONS = { headers: :first_row }.freeze
class ColumnMethodsBuilder < ::Module
def initialize(raw_definition)
raw_definition.each do |method_name, header_name|
define_method method_name do
@@ -38,10 +38,10 @@
end
end
end
def default_csv_options
- DEFAULT_CSV_OPIONS
+ DEFAULT_CSV_OPTIONS
end
end
class Array < Base
class ColumnMethodsBuilder < ::Module