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