Type:
Module
simple_selector
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

simple_selector(statement, values, can_negate = true) Instance Protected methods Creates

2025-01-10 15:47:30
sanitize_css
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::WhiteListSanitizer

sanitize_css(style) Instance Public methods Sanitizes a block of css code. Used

2025-01-10 15:47:30
attribute_match
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

attribute_match(equality, value) Instance Protected methods Create a regular

2025-01-10 15:47:30
for_id
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

Selector.for_id(id) => selector Class Public methods Creates a new selector

2025-01-10 15:47:30
match
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

match(element, first?) => array or nil Instance Public methods Matches an

2025-01-10 15:47:30
next_selector
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

next_selector(statement, values) Instance Protected methods Called to create

2025-01-10 15:47:30
select_first
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

select_first(root) Instance Public methods Similar to

2025-01-10 15:47:30
only_child
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Selector

only_child(of_type) Instance Protected methods Creates a only child lambda.

2025-01-10 15:47:30
process_node
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Sanitizer

process_node(node, result, options) Instance Protected methods

2025-01-10 15:47:30
validate_options
  • References/Ruby on Rails/Rails/Classes/HTML/HTML::Sanitizer

validate_options(options) Instance Protected methods

2025-01-10 15:47:30