Method: CSLAdaptor.load

Defined in:
lib/texstylist/csl_adaptor.rb

.load(style) ⇒ Object



49
50
51
52
53
54
55
56
# File 'lib/texstylist/csl_adaptor.rb', line 49

def self.load(style)
  style = safe_style(style)
  begin
    style.present? && CSL::Style.load(style)
  rescue
    nil
  end
end