Class: GitWorkflow::Configuration::Convention::StoryWrapper
- Inherits:
-
Object
- Object
- GitWorkflow::Configuration::Convention::StoryWrapper
- Defined in:
- lib/git_workflow/configuration.rb
Instance Method Summary collapse
-
#initialize(story) ⇒ StoryWrapper
constructor
A new instance of StoryWrapper.
- #name ⇒ Object
- #number ⇒ Object
Constructor Details
#initialize(story) ⇒ StoryWrapper
Returns a new instance of StoryWrapper.
54 55 56 |
# File 'lib/git_workflow/configuration.rb', line 54 def initialize(story) @story = story end |
Instance Method Details
#name ⇒ Object
62 63 64 |
# File 'lib/git_workflow/configuration.rb', line 62 def name @story.name end |
#number ⇒ Object
58 59 60 |
# File 'lib/git_workflow/configuration.rb', line 58 def number @story.story_id end |