class GitFlower::Branch

Attributes

story_id[R]
story_name[R]
type[R]

Public Class Methods

new(name:, id:, type:) click to toggle source
# File lib/git_flower/branch.rb, line 3
def initialize(name:, id:, type:)
  @story_name = name
  @story_id = id
  @type = type
end

Public Instance Methods

name() click to toggle source
# File lib/git_flower/branch.rb, line 9
def name
  Shellwords.shellescape("#{type}/#{story_id}-#{story_name.parameterize}")
end