lib/cri.rb in cri-2.0b1 vs lib/cri.rb in cri-2.0rc1
- old
+ new
@@ -1,22 +1,24 @@
# encoding: utf-8
module Cri
- # @todo Document
+ # A generic error class for all Cri-specific errors.
class Error < ::StandardError
end
- # @todo Document
+ # Error that will be raised when an implementation for a method or command
+ # is missing. For commands, this may mean that a run block is missing.
class NotImplementedError < Error
end
- # @todo Document
+ # Error that will be raised when no help is available because the help
+ # command has no supercommand for which to show help.
class NoHelpAvailableError < Error
end
# The current Cri version.
- VERSION = '2.0b1'
+ VERSION = '2.0rc1'
autoload 'Command', 'cri/command'
autoload 'CommandDSL', 'cri/command_dsl'
autoload 'OptionParser', 'cri/option_parser'