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 end
NONE = Class.new(self) do NONE = Class.new(self) do
# Initialize null color
#
# @return [undefined]
#
# @api private
#
def initialize(*)
end
# Format null color # Format null color
# #
# @param [String] text # @param [String] text
@ -49,6 +40,18 @@ module Mutant
def format(text) def format(text)
text text
end end
private
# Initialize null color
#
# @return [undefined]
#
# @api private
#
def initialize(*)
end
end.new.freeze end.new.freeze
RED = Color.new(31) RED = Color.new(31)