Method: Vedeu::Interfaces::Interface#defaults

Defined in:
lib/vedeu/interfaces/interface.rb

#defaultsHash<Symbol => void> (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 options/attributes for a new instance of this class.

Returns:

  • (Hash<Symbol => void>)


155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# File 'lib/vedeu/interfaces/interface.rb', line 155

def defaults
  {
    client:         nil,
    colour:         Vedeu.config.colour,
    cursor_visible: true,
    delay:          0.0,
    editable:       false,
    group:          '',
    name:           nil,
    parent:         nil,
    repository:     Vedeu.interfaces,
    style:          :normal,
    visible:        true,
    wordwrap:       true,
    zindex:         0,
  }
end