Module: GaussianParser::Cli

Included in:
DataProcessor, FileItemProcessor, Parser
Defined in:
lib/gaussian_parser/cli.rb

Constant Summary collapse

ERROR_COLOR =
:red
SUCCESS_COLOR =
:green

Instance Method Summary collapse

Instance Method Details



8
9
10
# File 'lib/gaussian_parser/cli.rb', line 8

def print_as_error(message)
  puts "Error: #{message}".colorize(ERROR_COLOR)
end


12
13
14
# File 'lib/gaussian_parser/cli.rb', line 12

def print_as_success(message)
  puts "Success: #{message}".colorize(SUCCESS_COLOR)
end


16
17
18
# File 'lib/gaussian_parser/cli.rb', line 16

def print_as_usual(message)
  puts "#{message}"
end