Sha256: 61106fc9ad9d38f7fc4cb4235a787019591dcad9ae8ef5f762c7ce60164d71ac
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
module Vedeu module Views # Provides the default attributes for variaus Vedeu::Views models. # # @api private # module DefaultAttributes include Vedeu::Repositories::Defaults # @!attribute [r] align # @return [Vedeu::Coercers::Alignment] attr_reader :align # @!attribute [r] pad # @return [String] attr_reader :pad # @!attribute [r] truncate # @return [Boolean] attr_reader :truncate # @!attribute [r] width # @return [Fixnum|NilClass] attr_reader :width # @!attribute [r] wordwrap # @return [Boolean] attr_reader :wordwrap # @return [Hash<Symbol => void>] def attributes { align: align, client: client, colour: colour, name: name, pad: pad, parent: parent, style: style, truncate: truncate, width: width, wordwrap: wordwrap, } end private # The default values for a new instance of this class. # # @return [Hash<Symbol => Array<void>|NilClass>] def defaults { align: nil, client: nil, colour: nil, name: nil, pad: ' '.freeze, parent: nil, style: nil, truncate: false, value: ''.freeze, width: nil, wordwrap: false, } end end # DefaultAttributes end # Views end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.0 | lib/vedeu/views/default_attributes.rb |