Module: Models::TagsMixin

Defined in:
lib/kit/models/tags_mixin.rb

Instance Method Summary collapse

Instance Method Details

#tagsObject



2
# File 'lib/kit/models/tags_mixin.rb', line 2

def tags; @tags ||= Models::Tags.new end

#tags=(tags) ⇒ Object



3
# File 'lib/kit/models/tags_mixin.rb', line 3

def tags= tags; @tags = Models::Tags.new tags end

#topics_as_stringObject



8
9
10
# File 'lib/kit/models/tags_mixin.rb', line 8

def topics_as_string
  tags.topic.as_string
end

#topics_as_string=(value) ⇒ Object



5
6
7
# File 'lib/kit/models/tags_mixin.rb', line 5

def topics_as_string= value
  tags.topic = value
end