Module: CSL::InheritableNameOptions
- Included in:
- Style, Style::Bibliography, Style::Citation
- Defined in:
- lib/csl/name_options.rb
Instance Method Summary collapse
Instance Method Details
#inheritable_name_options ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/csl/name_options.rb', line 3 def = attributes_for(*Schema.attr(:name)) if attribute?(:'name-delimiter') [:delimiter] = attributes[:'name-delimiter'] end if attribute?(:'name-form') [:form] = attributes[:'name-form'] end end |
#inheritable_names_options ⇒ Object
17 18 19 20 |
# File 'lib/csl/name_options.rb', line 17 def return {} unless attribute? :'names-delimiter' { :delimiter => attributes[:'names-delimiter'] } end |