Sha256: 8af84ce27f2090f006133c193acccea8337b369895a1a877c5770578d5c99e4d
Contents?: true
Size: 314 Bytes
Versions: 3
Compression:
Stored size: 314 Bytes
Contents
module GitFlower class Branch def initialize(name:, id:, type:) @story_name = name @story_id = id @type = type end def name Shellwords.shellescape("#{type}/#{story_id}-#{story_name.parameterize}") end private attr_reader :story_name, :story_id, :type end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git_flower-0.2.0 | lib/git_flower/branch.rb |
git_flower-0.1.3 | lib/git_flower/branch.rb |
git_flower-0.1.2 | lib/git_flower/branch.rb |