class Lexbor::CssFilter
- Lexbor::CssFilter
- Reference
- Object
Defined in:
lexbor/css_filter.crConstant Summary
-
Cbk =
->(node : Lib::DomElementT, spec : ::Pointer(Void), ctx : ::Pointer(Void)) do col = ctx.as(Lexbor::Iterator::Collection) col << node Lib::StatusT::LXB_STATUS_OK end
Constructors
-
.new(rule : String)
Css filter Lexbor::CssFilter.new("div.red").search_from(lexbor.body!) # => Lexbor::Iterator::Collection
Instance Method Summary
Constructor Detail
def self.new(rule : String)
#
Css filter Lexbor::CssFilter.new("div.red").search_from(lexbor.body!) # => Lexbor::Iterator::Collection