String split in as_a_or_s.
parent
51f02e08d5
commit
79ef66292b
|
@ -28,7 +28,7 @@ class Specs
|
||||||
|
|
||||||
def as_a_or_s : Array(String)
|
def as_a_or_s : Array(String)
|
||||||
# FIXME: We should probably be splitting the string around comas.
|
# FIXME: We should probably be splitting the string around comas.
|
||||||
[@value]
|
@value.split(",").map(&.gsub /(^ *| *$)/, "")
|
||||||
end
|
end
|
||||||
|
|
||||||
def as_s_or_ls : String
|
def as_s_or_ls : String
|
||||||
|
|
Reference in New Issue