lib/csl/style/names.rb in csl-1.0.0.pre1 vs lib/csl/style/names.rb in csl-1.0.0.pre2

- old
+ new

@@ -1,11 +1,11 @@ module CSL class Style class Names < Node - attr_struct :variable, *Schema.attr(:names) + attr_struct :variable, *Schema.attr(:names, :delimiter, :affixes, :display, :font) attr_children :name, :'et-al', :label, :substitute alias labels label @@ -28,18 +28,18 @@ alias parts name_part def initialize(attributes = {}) super(attributes) children[:'name-part'] = [] - + yield self if block_given? end end class NamePart < Node has_no_children - attr_struct :name, *Schema.attr(:textcase, :affixes, :font) + attr_struct :name, :'text-case', *Schema.attr(:affixes, :font) end class EtAl < Node has_no_children attr_struct :term, *Schema.attr(:affixes, :font) \ No newline at end of file