You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
567 B

require 'ostruct'
# extra dimensions for customizing the logging format
module AnsiDimensions
def self.new(rails: '╣x╠', before: 0, after: 0, terminus: false)
OpenStruct.new(rails:, before:, after:, terminus:) # rubocop:disable Style/OpenStructUse
end
def self.start
OpenStruct.new(rails: '╓─╖') # rubocop:disable Style/OpenStructUse
end
def self.end
OpenStruct.new(rails: '╣ ╠') # rubocop:disable Style/OpenStructUse
end
def self.around
OpenStruct.new(rails: '╣ ╠') # rubocop:disable Style/OpenStructUse
end
end