Module: RTM::Sugar::Reifiable::CreateReifier
- Defined in:
- lib/rtm/sugar/reifiable/reifier.rb
Instance Method Summary collapse
-
#reifier! ⇒ Object
(also: #create_reifier)
Returns the reifier (a topic) of this Reifiable.
Instance Method Details
#reifier! ⇒ Object Also known as: create_reifier
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
14 15 16 |
# File 'lib/rtm/sugar/reifiable/reifier.rb', line 14 def reifier! self.reifier ||= self.topic_map.create_topic end |