Module: RTM::Sugar::Variant::Topic

Defined in:
rtm/lib/rtm/sugar/variant/topic.rb,
rtm/spec/rtm/sugar/variant/topic_spec.rb

Instance Method Summary

Instance Method Details

- (Object) topic

Return the topic this variant belongs to.

:call-seq:

  topic -> Topic


12
13
14
# File 'rtm/lib/rtm/sugar/variant/topic.rb', line 12

def topic
  return self.parent.parent
end