Skip to content

Commit 79e93aa

Browse files
committed
more rubyfication
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40942
1 parent a6a0027 commit 79e93aa

37 files changed

+1250
-1337
lines changed

lib/html5.rb

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
require 'html5/html5parser'
2+
require 'html5/version'
23

34
module HTML5
4-
def self.parse(stream, options={})
5-
HTMLParser.parse(stream, options)
6-
end
75

8-
def self.parseFragment(stream, options={})
9-
HTMLParser.parse(stream, options)
10-
end
6+
def self.parse(stream, options={})
7+
HTMLParser.parse(stream, options)
8+
end
9+
10+
def self.parse_fragment(stream, options={})
11+
HTMLParser.parse(stream, options)
12+
end
1113
end

0 commit comments

Comments
 (0)