mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10 lines
117 B
Ruby
10 lines
117 B
Ruby
|
require 'logger'
|
||
|
|
||
|
module LoggerSpecs
|
||
|
|
||
|
def self.strip_date(str)
|
||
|
str.gsub(/[A-Z].*\[.*\]/, "").lstrip
|
||
|
end
|
||
|
|
||
|
end
|