Class: Crab::DryRun::Story
- Inherits:
-
Object
- Object
- Crab::DryRun::Story
- Defined in:
- lib/crab/story.rb
Instance Method Summary collapse
- #description ⇒ Object
- #formatted_id ⇒ Object
-
#initialize(opts) ⇒ Story
constructor
A new instance of Story.
- #name ⇒ Object
- #scenarios ⇒ Object
- #state ⇒ Object
Constructor Details
#initialize(opts) ⇒ Story
Returns a new instance of Story.
77 78 79 80 81 |
# File 'lib/crab/story.rb', line 77 def initialize(opts) puts "Would create story with #{opts.inspect}" @name = opts[:name] end |
Instance Method Details
#description ⇒ Object
95 96 97 |
# File 'lib/crab/story.rb', line 95 def description "" end |
#formatted_id ⇒ Object
87 88 89 |
# File 'lib/crab/story.rb', line 87 def formatted_id "USXXXX" end |
#name ⇒ Object
83 84 85 |
# File 'lib/crab/story.rb', line 83 def name @name end |
#scenarios ⇒ Object
99 100 101 |
# File 'lib/crab/story.rb', line 99 def scenarios [] end |
#state ⇒ Object
91 92 93 |
# File 'lib/crab/story.rb', line 91 def state "grooming" end |