@@ -10,7 +10,7 @@ module Extensions
10
10
require 'asciidoctor/extensions'
11
11
12
12
class AsciidoctorModule
13
- java_implements Java ::Asciidoctor
13
+ java_implements Java ::Asciidoctor
14
14
15
15
def unregister_all_extensions ( )
16
16
Asciidoctor ::Extensions . unregister_all
@@ -64,16 +64,16 @@ def inline_macro(extensionName, blockSymbol)
64
64
end
65
65
end
66
66
67
- def convert_file ( content , options = { } )
68
- return Asciidoctor . convert_file ( content , options )
67
+ def convert_file ( filename , options = { } )
68
+ return Asciidoctor . convert_file ( filename , options )
69
69
end
70
70
71
71
def convert ( content , options = { } )
72
72
return Asciidoctor . convert ( content , options )
73
73
end
74
74
75
- def load_file ( content , options = { } )
76
- return Asciidoctor . load_file ( content , options )
75
+ def load_file ( filename , options = { } )
76
+ return Asciidoctor . load_file ( filename , options )
77
77
end
78
78
79
79
def load ( content , options = { } )
@@ -88,15 +88,15 @@ def resolve_converter(backend)
88
88
return Asciidoctor ::Converter ::Factory . resolve backend
89
89
end
90
90
91
- def converters ( )
91
+ def converters
92
92
return Asciidoctor ::Converter ::Factory . converters . keys
93
93
end
94
94
95
95
def unregister_all_converters
96
96
Asciidoctor ::Converter ::Factory . unregister_all
97
97
end
98
98
99
- def asciidoctorRuntimeEnvironmentVersion ( )
99
+ def asciidoctorRuntimeEnvironmentVersion
100
100
return Asciidoctor ::VERSION
101
101
end
102
102
end
@@ -111,4 +111,4 @@ class AbstractNode
111
111
class AbstractBlock
112
112
alias :append :<< unless respond_to? :append
113
113
end
114
- end
114
+ end
0 commit comments