Method: Vedeu::Views::DefaultAttributes#defaults

Defined in:
lib/vedeu/views/default_attributes.rb

#defaultsHash<Symbol => Array<void>|NilClass> (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The default values for a new instance of this class.

Returns:

  • (Hash<Symbol => Array<void>|NilClass>)


58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/vedeu/views/default_attributes.rb', line 58

def defaults
  {
    align:    nil,
    client:   nil,
    colour:   nil,
    name:     nil,
    pad:      ' ',
    parent:   nil,
    style:    nil,
    truncate: false,
    value:    '',
    width:    nil,
    wordwrap: false,
  }
end