Class: Artisan::Story
Instance Attribute Summary collapse
-
#tags ⇒ Object
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Story
constructor
A new instance of Story.
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
#tags ⇒ Object
Returns the value of attribute tags.
6 7 8 |
# File 'lib/artisan/story.rb', line 6 def @tags end |