Method: Vedeu::Borders::Title#initialize

Defined in:
lib/vedeu/borders/title.rb

#initialize(name, value = '', horizontal = []) ⇒ Vedeu::Borders::Title|Vedeu::Borders::Caption

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.

Returns a new instance of Vedeu::Borders::Title or Vedeu::Borders::Caption.

Parameters:

  • name (NilClass|Symbol|String)

    The name of the model or target model to act upon. May default to Vedeu.focus.

  • value (String|Vedeu::Borders::Title|) (defaults to: '')

    alue [String|Vedeu::Borders::Title|

  • horizontal (Array<Vedeu::Cells::Horizontal>) (defaults to: [])

    Vedeu::Borders::Caption]



32
33
34
35
36
# File 'lib/vedeu/borders/title.rb', line 32

def initialize(name, value = '', horizontal = [])
  @name       = name
  @value      = value
  @horizontal = horizontal
end