Make `Formatter::Util` extend itself for easier access
This commit is contained in:
parent
3d3626accc
commit
1b57e2cad5
|
@ -1,5 +1,7 @@
|
|||
module Ameba::Formatter
|
||||
module Util
|
||||
extend self
|
||||
|
||||
def deansify(message : String?) : String?
|
||||
message.try &.gsub(/\x1b[^m]*m/, "").presence
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue