class Deplo::BranchNameForGithub
Public Class Methods
new()
click to toggle source
Calls superclass method
Deplo::FromCommandLine::new
# File lib/deplo/github.rb, line 3 def initialize super( title: "Git Branch" , message: "Please input name of branch" , content: "master" ) end
Public Instance Methods
set()
click to toggle source
Calls superclass method
Deplo::FromCommandLine#set
# File lib/deplo/github.rb, line 7 def set while !( @condition ) if @content == "master" @condition = ::Deplo.yes_no( @condition , no: ::Proc.new { @content = nil } , message: "Use branch \'master\'" ) else super end end end