lib/eco/data/locations/node_plain/parsing.rb in eco-helpers-2.6.4 vs lib/eco/data/locations/node_plain/parsing.rb in eco-helpers-2.7.0
- old
+ new
@@ -6,10 +6,10 @@
@node_class ||= Eco::Data::Locations::NodePlain
end
# Subset of property names expected to be among the headers
def basic_headers
- @expected_headers ||= %w[id name parent_id]
+ @basic_headers ||= %w[id name parent_id]
end
# Checks if the `basic_headers` to process as `NodePlain` are present.
# @param [CSV::Table]
# @return [Boolean] whether or not it's worthy trying to parse with `NodePlain`.