Skip to content

Commit 6d3ebd0

Browse files
committed
Remove ERBX.lex_file and ERBX.lex_to_buffer for now
1 parent e9b5794 commit 6d3ebd0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/erbx.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@
1010
module ERBX
1111
VERSION = LibERBX.erbx_version.read_string
1212

13-
def self.lex_to_buffer(source)
14-
LibERBX::Buffer.with do |output|
15-
LibERBX.erbx_lex_to_buffer(source, output.pointer)
16-
17-
output.read
18-
end
19-
end
20-
2113
def self.lex(source)
2214
LexResult.new(
2315
LibERBX.erbx_lex(source)
@@ -39,8 +31,4 @@ def self.extract_html(source)
3931
output.read
4032
end
4133
end
42-
43-
def self.lex_file(path)
44-
lex(File.read(path))
45-
end
4634
end

0 commit comments

Comments
 (0)