Returns:
all codes of the Style list joined together (if a Style list)
the Style code
242 243 244 245 246 247 248
# File 'lib/highline/style.rb', line 242 def code if @list @list.map { |element| HighLine.Style(element).code }.join else @code end end