lib/datacite/mapping/related_identifier.rb in datacite-mapping-0.1.5 vs lib/datacite/mapping/related_identifier.rb in datacite-mapping-0.1.6

- old
+ new

@@ -165,14 +165,14 @@ # @!attribute [rw] scheme_type # @return [String, nil] the type of the metadata scheme. Used only with `HasMetadata`/`IsMetadataFor`. Optional. text_node :scheme_type, '@schemeType', default_value: nil - alias_method :_relation_type=, :relation_type= + maybe_alias :_relation_type=, :relation_type= private :_relation_type= - alias_method :_value=, :value= + maybe_alias :_value=, :value= private :_value= - alias_method :_identifier_type=, :identifier_type= + maybe_alias :_identifier_type=, :identifier_type= private :_identifier_type= # Initializes a new {RelatedIdentifier}. # @param relation_type [RelationType] the relationship of the {Resource} to the related resource. Cannot be nil. # @param value [String] the identifier value. Cannot be nil.