class DRev::InitMsg
Start Const Msg
Public Instance Methods
file_end()
click to toggle source
# File lib/init_msg.rb, line 34 def file_end drev_str = ' Finished Reviewing File'.red drev_str end
file_start(path, counter)
click to toggle source
# File lib/init_msg.rb, line 26 def file_start(path, counter) drev_str = "\n Start Reviewing File N° ".red drev_str += "#{counter}: ".yellow drev_str += path.to_s.magenta drev_str += "\n" drev_str end
init_end(counter)
click to toggle source
# File lib/init_msg.rb, line 15 def init_end(counter) drev_str = "\n Finished ".green drev_str += 'DRev'.magenta.bold drev_str += ' Reviewing '.green drev_str += "#{counter} ".yellow.bold drev_str += 'Files'.green if counter < 1 drev_str += 'File'.green if counter >= 1 drev_str += "\n\n" drev_str end
init_start(counter)
click to toggle source
# File lib/init_msg.rb, line 4 def init_start(counter) drev_str = "\n Starting ".green drev_str += 'DRev'.magenta.bold drev_str += ' Inspecting '.green drev_str += "#{counter} ".yellow.bold drev_str += 'Files'.green if counter < 1 drev_str += 'File'.green if counter >= 1 drev_str += "\n" drev_str end