module MotherBrain::Mixin::CodedExit
Include a collection of helper functions for exiting with exit statuses from error constants and determining exit statuses for string representations of motherbrain exceptions.
Public Class Methods
extended(base)
click to toggle source
# File lib/mb/mixin/coded_exit.rb, line 12 def extended(base) base.extend(ClassMethods) end
included(base)
click to toggle source
# File lib/mb/mixin/coded_exit.rb, line 7 def included(base) base.extend(ClassMethods) base.send(:include, ClassMethods) end