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

- old
+ new

@@ -11,12 +11,12 @@ root_element_name 'alternateIdentifier' text_node :type, '@alternateIdentifierType' text_node :value, 'text()' - alias_method :_type=, :type= + maybe_alias :_type=, :type= private :_type= - alias_method :_value=, :value= + maybe_alias :_value=, :value= private :_value= # Initializes a new {AlternateIdentifier} # @param type [String] the identifier type # @param value [String] the identifier value