Class: BigKeeper::CommandLineUtil

Inherits:
Object
  • Object
show all
Defined in:
lib/big_keeper/util/command_line_util.rb

Class Method Summary collapse

Class Method Details

.double_check(tips) ⇒ Object



3
4
5
6
7
# File 'lib/big_keeper/util/command_line_util.rb', line 3

def self.double_check(tips)
  Logger.highlight("#{tips} (y/n)")
  input = STDIN.gets().chop
  input.eql?('y')
end