lib/trajectory/domain/story.rb in trajectory-0.1.0 vs lib/trajectory/domain/story.rb in trajectory-0.1.1
- old
+ new
@@ -13,12 +13,11 @@
# Lower is higher.
# @return [Integer] the position of the story
attribute :position, Integer
# @return [DateTime] the creation date of the story
attribute :created_at, DateTime
- # @return [Array<String>] the valid states the story can transition to
- # @todo Replace String by Symbol
- attribute :state_events, Array[String]
+ # @return [Array<Symbol>] the valid states the story can transition to
+ attribute :state_events, Array[Symbol]
# @return [String] the title of the story
attribute :title, String
# @return [true, false] true if design is needed for the story, false otherwise
attribute :design_needed, Boolean
# @return [DateTime] the last modification date of the story