Sha256: 215bf29ef842c2e884ad6e74b44cc474960405d74e4f599bcca3813ef847915e

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
# License:   Apache License, Version 2.0

module RTM::Sugar::Name
  module Remove

    def force_remove
      if name_reifier = self.reifier
        self.reifier = nil
        name_reifier.force_remove
      end
      self.variants.to_a.clone.each do |v|
        v.force_remove
      end
      remove
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtm-0.3.1 lib/rtm/sugar/name/remove.rb