Sha256: 6a003f37d3f99f373b8ecb58a6e0dc4ecd03d4a232c02f791f902353ea8918f0

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 KB

Contents

require 'enumerator'
require 'forwardable'
require 'open-uri'
require 'singleton'
require 'set'
require 'time'

require 'namae'

require 'csl/version'

require 'csl/compatibility'
require 'csl/extensions'
require 'csl/errors'

require 'csl/schema'

require 'csl/pretty_printer'
require 'csl/loader'
require 'csl/parser'
require 'csl/treelike'
require 'csl/node'

require 'csl/info'

require 'csl/locale'
require 'csl/locale/ordinalize'
require 'csl/locale/date'
require 'csl/locale/term'
require 'csl/locale/style_options'

require 'csl/style'
require 'csl/style/bibliography'
require 'csl/style/citation'
require 'csl/style/choose'
require 'csl/style/date'
require 'csl/style/group'
require 'csl/style/label'
require 'csl/style/layout'
require 'csl/style/macro'
require 'csl/style/names'
require 'csl/style/number'
require 'csl/style/text'

module CSL
  
  module_function
  
  def parse(*arguments)
    Parser.instance.parse(*arguments)
  end

  def parse!(*arguments)
    Parser.instance.parse!(*arguments)
  end
  
  def validate(node)
    Schema.validate(node)
  end

  def valid?(node)
    Schema.valid?(node)
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
csl-1.0.0.pre12 lib/csl.rb
csl-1.0.0.pre11 lib/csl.rb
csl-1.0.0.pre10 lib/csl.rb
csl-1.0.0.pre9 lib/csl.rb
csl-1.0.0.pre8 lib/csl.rb
csl-1.0.0.pre7 lib/csl.rb
csl-1.0.0.pre6 lib/csl.rb