lib/neo4j/active_node/labels.rb in neo4j-9.3.0 vs lib/neo4j/active_node/labels.rb in neo4j-9.4.0
- old
+ new
@@ -164,16 +164,16 @@
def mapped_label_name=(name)
@mapped_label_name = name.to_sym
end
- # rubocop:disable Style/AccessorMethodName
+ # rubocop:disable Naming/AccessorMethodName
def set_mapped_label_name(name)
ActiveSupport::Deprecation.warn 'set_mapped_label_name is deprecated, use self.mapped_label_name= instead.', caller
self.mapped_label_name = name
end
- # rubocop:enable Style/AccessorMethodName
+ # rubocop:enable Naming/AccessorMethodName
private
def find_by_id_or_ids(map_id, id)
if id.is_a?(Array)