Generated RBS files


Experimental RBS support (using type sampling data from the type_fusion project).

Typing Progress


We have received 284 type samples for the rails-html-sanitizer-1.6.0 gem and matched them to 14 out of the 46 methods (30.4 %).

Methods With Samples


scrub

47 samples

Rails::HTML::PermitScrubber

skip_node?

45 samples

Rails::HTML::PermitScrubber

scrub_css_attribute

23 samples

Rails::HTML::PermitScrubber

scrub_attribute?

23 samples

Rails::HTML::PermitScrubber

scrub_attribute

19 samples

Rails::HTML::PermitScrubber

keep_node?

17 samples

Rails::HTML::PermitScrubber

scrub_attributes

15 samples

Rails::HTML::PermitScrubber

allowed_node?

10 samples

Rails::HTML::PermitScrubber

attributes=

8 samples

Rails::HTML::PermitScrubber

tags=

8 samples

Rails::HTML::PermitScrubber

allowed_tags

8 samples

Rails::HTML4::SafeListSanitizer

validate!

7 samples

Rails::HTML::PermitScrubber

parse_fragment

7 samples

Rails::HTML4::SafeListSanitizer

scrub_node

7 samples

Rails::HTML::PermitScrubber

allowed_tags

5 samples

Rails::HTML5::SafeListSanitizer

allowed_attributes

5 samples

Rails::HTML5::SafeListSanitizer

allowed_attributes

4 samples

Rails::HTML4::SafeListSanitizer

properly_encode

4 samples

Rails::HTML4::SafeListSanitizer

parse_fragment

4 samples

Rails::HTML5::SafeListSanitizer

sanitize

4 samples

Rails::HTML5::SafeListSanitizer

serialize

3 samples

Rails::HTML5::SafeListSanitizer

scrub

2 samples

Rails::HTML4::SafeListSanitizer

sanitize

2 samples

Rails::HTML4::SafeListSanitizer

scrub

2 samples

Rails::HTML5::SafeListSanitizer

serialize

2 samples

Rails::HTML4::SafeListSanitizer

scrub

1 sample

Rails::HTML::TextOnlyScrubber

properly_encode

1 sample

Rails::HTML5::SafeListSanitizer

initialize

1 sample

Rails::HTML::PermitScrubber