class XML::MappingExtensions::Namespace

Public Instance Methods

with_prefix(new_prefix) click to toggle source
# File lib/datacite/mapping/namespace_extensions.rb, line 9
def with_prefix(new_prefix)
  Namespace.new(uri: uri, prefix: new_prefix, schema_location: schema_location)
end