Exception: ThorSCMVersion::SCMVersionError
- Inherits:
-
StandardError
- Object
- StandardError
- ThorSCMVersion::SCMVersionError
- Defined in:
- lib/thor-scmversion/errors.rb
Overview
adapted from code written by Jamie Winsor <[email protected]>
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.status_code(code) ⇒ Object
7 8 9 10 |
# File 'lib/thor-scmversion/errors.rb', line 7 def status_code(code) define_method(:status_code) { code } define_singleton_method(:status_code) { code } end |