lib/csl.rb in csl-1.0.2 vs lib/csl.rb in csl-1.1.0
- old
+ new
@@ -28,13 +28,16 @@
require 'csl/locale'
require 'csl/locale/date'
require 'csl/locale/term'
require 'csl/locale/style_options'
+require 'csl/name_options'
+
require 'csl/style'
require 'csl/style/bibliography'
require 'csl/style/citation'
+require 'csl/style/sort'
require 'csl/style/choose'
require 'csl/style/date'
require 'csl/style/group'
require 'csl/style/label'
require 'csl/style/layout'
@@ -42,25 +45,25 @@
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
\ No newline at end of file
+end