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.
22 lines
617 B
22 lines
617 B
require 'ostruct'
|
|
|
|
module Semantic
|
|
# 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
|
|
end
|