struct Readability::Options
- Readability::Options
- Struct
- Value
- Object
Defined in:
readability/options.crConstructors
Instance Method Summary
- #attributes : Array(String)
- #blacklist : Array(String)
- #clean_conditionally : Bool
- #debug : Bool
- #ignore_image_format : Array(String)
- #min_image_height : Int32
- #min_image_width : Int32
- #min_text_length : Int32
- #remove_empty_nodes : Bool
- #remove_unlikely_candidates : Bool
- #retry_length : Int32
- #return_nil_content : Bool
- #tags : Array(String)
- #weight_classes : Bool
- #whitelist : Array(String)
Constructor Detail
def self.new(retry_length : Int32 = 250, min_text_length : Int32 = 25, tags : Array(String) = [] of String, attributes : Array(String) = [] of String, blacklist : Array(String) = [] of String, whitelist : Array(String) = [] of String, remove_unlikely_candidates : Bool = true, weight_classes : Bool = true, clean_conditionally : Bool = true, return_nil_content : Bool = false, remove_empty_nodes : Bool = true, min_image_width : Int32 = 130, min_image_height : Int32 = 80, ignore_image_format : Array(String) = [] of String, debug : Bool = false)
#