Mark null color initialize as private
This commit is contained in:
parent
96ce758d41
commit
06ca0e1c70
1 changed files with 12 additions and 9 deletions
|
@ -28,15 +28,6 @@ module Mutant
|
|||
end
|
||||
|
||||
NONE = Class.new(self) do
|
||||
# Initialize null color
|
||||
#
|
||||
# @return [undefined]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def initialize(*)
|
||||
end
|
||||
|
||||
# Format null color
|
||||
#
|
||||
# @param [String] text
|
||||
|
@ -49,6 +40,18 @@ module Mutant
|
|||
def format(text)
|
||||
text
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# Initialize null color
|
||||
#
|
||||
# @return [undefined]
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
def initialize(*)
|
||||
end
|
||||
|
||||
end.new.freeze
|
||||
|
||||
RED = Color.new(31)
|
||||
|
|
Loading…
Reference in a new issue