Method: CSL::Style::Name#initialize

Defined in:
lib/csl/style/names.rb

#initialize(attributes = {}) {|_self| ... } ⇒ Name

Returns a new instance of Name.

Yields:

  • (_self)

Yield Parameters:



58
59
60
61
62
63
# File 'lib/csl/style/names.rb', line 58

def initialize(attributes = {})
  super(attributes)
  children[:'name-part'] = []

  yield self if block_given?
end