Class: Artisan::Story

Inherits:
Base
  • Object
show all
Defined in:
lib/artisan/story.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#attributes, hash_attr_accessor

Constructor Details

#initialize(attributes = {}) ⇒ Story

Returns a new instance of Story.



12
13
14
15
# File 'lib/artisan/story.rb', line 12

def initialize(attributes = {})
  super
  @tags = tag_list.split(" ")
end

Instance Attribute Details

#tagsObject

Returns the value of attribute tags.



6
7
8
# File 'lib/artisan/story.rb', line 6

def tags
  @tags
end