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
- #print_as_error(message) ⇒ Object
- #print_as_success(message) ⇒ Object
- #print_as_usual(message) ⇒ Object
Instance Method Details
#print_as_error(message) ⇒ Object
8 9 10 |
# File 'lib/gaussian_parser/cli.rb', line 8 def print_as_error() puts "Error: #{}".colorize(ERROR_COLOR) end |
#print_as_success(message) ⇒ Object
12 13 14 |
# File 'lib/gaussian_parser/cli.rb', line 12 def print_as_success() puts "Success: #{}".colorize(SUCCESS_COLOR) end |
#print_as_usual(message) ⇒ Object
16 17 18 |
# File 'lib/gaussian_parser/cli.rb', line 16 def print_as_usual() puts "#{}" end |