Module: XCPerfect

Defined in:
lib/xcperfect.rb,
lib/xcperfect/bar.rb,
lib/xcperfect/ansi.rb,
lib/xcperfect/parser.rb,
lib/xcperfect/syntax.rb,
lib/xcperfect/printer.rb,
lib/xcperfect/version.rb,
lib/xcperfect/formatters/all.rb,
lib/xcperfect/formatters/simple.rb,
lib/xcperfect/formatters/formatter.rb

Overview

VERSION is used in the ‘Gemfile`, and when displaying the version to the user via `xcperfect -v`

Defined Under Namespace

Modules: ANSI, Syntax Classes: All, Bar, Formatter, Parser, Printer, Simple

Constant Summary collapse

VERSION =
'0.0.3'.freeze

Class Method Summary collapse

Class Method Details

.exit_with_error(message) ⇒ Object



12
13
14
15
# File 'lib/xcperfect.rb', line 12

def self.exit_with_error(message)
  $stderr.puts "[!] #{message}"
  exit 1
end