Sha256: fc071f778008fd0c9d29cd2aa22fbedb09b4003bd52e4483b56fd9b8d253c5f6
Contents?: true
Size: 530 Bytes
Versions: 4
Compression:
Stored size: 530 Bytes
Contents
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. # License: Apache License, Version 2.0 module RTM::Sugar::Reifiable module CreateReifier # Returns the reifier (a topic) of this Reifiable. # If there is no current reifier, then a reifier will be generated. # This reifier did not exist in the topic map before. # # :call-seq: # reifier! -> Topic # def reifier! self.reifier ||= self.topic_map.create_topic end alias :create_reifier :reifier! end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rtm-0.3.1 | lib/rtm/sugar/reifiable/reifier.rb |
rtm-0.3.0 | lib/rtm/sugar/reifiable/reifier.rb |
rtm-0.2.1 | lib/rtm/sugar/reifiable/reifier.rb |
rtm-0.2 | lib/rtm/sugar/reifiable/reifier.rb |