lib/csl/style/citation.rb in csl-1.0.2 vs lib/csl/style/citation.rb in csl-1.1.0
- old
+ new
@@ -1,17 +1,16 @@
module CSL
class Style
-
+
class Citation < Node
-
- attr_struct :'cite-group-delimiter', :collapse, :'year-suffix-delimiter',
- :'after-collapse-delimiter', :'disambiguate-add-names',
- :'disambiguate-add-givenname', :'disambiguate-add-year-suffix',
- :'givenname-disambiguation-rule', :'names-delimiter',
- *Schema.attr(:names, :name)
-
+
+ include InheritableNameOptions
+
+ attr_struct(*Schema.attr(:citation, :names, :name))
+
attr_children :sort, :layout
-
+
+ alias sort? has_sort?
end
-
+
end
-end
\ No newline at end of file
+end