0
0
Fork 0

Cut down the shades array to the half

During the length of the ASCII array length is not more a fix amount of
10. I was able the remove the doubles in the "shades" array.
This commit is contained in:
Stormwind 2015-12-08 11:53:55 +01:00
parent b30355b50f
commit 1fdfb77d64
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module Rubella
def initialize data, field_size = 1 def initialize data, field_size = 1
@symbols = Hash.new @symbols = Hash.new
@symbols["shades"] = @symbols["shades"] =
[" ", " ", "", "", "", "", "", "", "", ""] [" ", "", "", "", ""]
@symbols["shades_ascii"] = @symbols["shades_ascii"] =
[" ", "·", "", "", "@", "#", "", "", "", ""] [" ", "·", "", "", "@", "#", "", "", "", ""]
@symbols["ascii"] = @symbols["ascii"] =
@ -53,6 +53,7 @@ module Rubella
# * shades_ascii # * shades_ascii
# * ascii # * ascii
# * numbers # * numbers
# * letters
# #
# @param value String The theme name # @param value String The theme name
# @raise ArgumentError # @raise ArgumentError