Sha256: 4c61556729b01592c83a454b563f786057e8695d92fa911f868d119941e07ca8
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Vedeu class Style attr_reader :values # @param values [String|Array] # @return [Style] def initialize(values) @values = values end # @return [String] def to_s escape_sequences end private # @api private # @return [String] def escape_sequences @_sequences ||= if values.nil? || values.empty? '' else Array(values).flatten.map { |value| Esc.string(value) }.join end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.18 | lib/vedeu/models/style.rb |