class CSL::Style::Bibliography

Attributes

bibliography[RW]

Public Instance Methods

bibliography_options() click to toggle source
# File lib/csl/style/bibliography.rb, line 19
def bibliography_options
  attributes_for(*Schema.attr(:bibliography))
end
sort_keys() click to toggle source
# File lib/csl/style/bibliography.rb, line 23
def sort_keys
  return [] unless sort?
  children[:sort].sort_keys
end
subsequent_author_substitute() click to toggle source
# File lib/csl/style/bibliography.rb, line 32
def subsequent_author_substitute
  attributes[:'subsequent-author-substitute'].to_s
end
subsequent_author_substitute_rule() click to toggle source
# File lib/csl/style/bibliography.rb, line 36
def subsequent_author_substitute_rule
  attributes[:'subsequent-author-substitute-rule'].to_s
end
substitute_subsequent_authors?() click to toggle source
# File lib/csl/style/bibliography.rb, line 28
def substitute_subsequent_authors?
  attribute?(:'subsequent-author-substitute')
end
substitute_subsequent_authors_completely?() click to toggle source
# File lib/csl/style/bibliography.rb, line 40
def substitute_subsequent_authors_completely?
  return false unless substitute_subsequent_authors?
  subsequent_author_substitute_rule == 'complete-all'
end
substitute_subsequent_authors_individually?() click to toggle source
# File lib/csl/style/bibliography.rb, line 45
def substitute_subsequent_authors_individually?
  return false unless substitute_subsequent_authors?
  subsequent_author_substitute_rule != 'complete-all'
end