Mark null color initialize as private

This commit is contained in:
Markus Schirp 2012-08-28 11:16:23 +02:00
parent 96ce758d41
commit 06ca0e1c70

View file

@ -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)