Sha256: c77c4112fd52d596a57c0faec7dd0aa9208096475a081034a5b1f10127ccdf19
Contents?: true
Size: 762 Bytes
Versions: 7
Compression:
Stored size: 762 Bytes
Contents
module Vedeu module DSL # Provides a style helper for use in the {DSL::Interface}, {DSL::Line} and # {DSL::Stream} classes. # # @api public # module Style # Define a style or styles for an interface, line or a stream. # # @param value [Array|Symbol|String] # # @example # interface 'my_interface' do # style 'normal' # ... # # lines do # style ['bold', 'underline'] # ... # # stream do # style 'blink' # ... # # @return [Vedeu::Style] def style(value) model.style = Vedeu::Style.coerce(value) end alias_method :styles, :style end # Style end # DSL end # Vedeu
Version data entries
7 entries across 7 versions & 1 rubygems