Class: Cp8Cli::BranchName
- Inherits:
- 
      Object
      
        - Object
- Cp8Cli::BranchName
 
- Defined in:
- lib/cp8_cli/branch_name.rb
Constant Summary collapse
- SEPARATOR =
- "/"
Instance Method Summary collapse
- 
  
    
      #initialize(user:, story:)  ⇒ BranchName 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of BranchName. 
- #to_s ⇒ Object
Constructor Details
#initialize(user:, story:) ⇒ BranchName
Returns a new instance of BranchName.
| 5 6 7 8 | # File 'lib/cp8_cli/branch_name.rb', line 5 def initialize(user:, story:) @user = user @story = story end | 
Instance Method Details
#to_s ⇒ Object
| 10 11 12 | # File 'lib/cp8_cli/branch_name.rb', line 10 def to_s "#{prefix}#{user_input}" end |