Class: GitWorkflow::Configuration::Convention::StoryWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/git_workflow/configuration.rb

Instance Method Summary collapse

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

#nameObject



62
63
64
# File 'lib/git_workflow/configuration.rb', line 62

def name
  @story.name
end

#numberObject



58
59
60
# File 'lib/git_workflow/configuration.rb', line 58

def number
  @story.story_id
end