module CSL::InheritableNameOptions
Public Instance Methods
inheritable_name_options()
click to toggle source
# File lib/csl/name_options.rb, line 3 def inheritable_name_options options = attributes_for(*Schema.attr(:name)) if attribute?(:'name-delimiter') options[:delimiter] = attributes[:'name-delimiter'] end if attribute?(:'name-form') options[:form] = attributes[:'name-form'] end options end
inheritable_names_options()
click to toggle source
# File lib/csl/name_options.rb, line 17 def inheritable_names_options return {} unless attribute? :'names-delimiter' { :delimiter => attributes[:'names-delimiter'] } end