Class: Cp8Cli::BranchName
- Inherits:
-
Object
- Object
- Cp8Cli::BranchName
- Defined in:
- lib/cp8_cli/branch_name.rb
Instance Method Summary collapse
-
#initialize(user:, target:, story:) ⇒ BranchName
constructor
A new instance of BranchName.
- #to_s ⇒ Object
Constructor Details
#initialize(user:, target:, story:) ⇒ BranchName
Returns a new instance of BranchName.
3 4 5 6 7 |
# File 'lib/cp8_cli/branch_name.rb', line 3 def initialize(user:, target:, story:) @user = user @target = target @story = story end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/cp8_cli/branch_name.rb', line 9 def to_s parts.join(".") end |