struct Readability::Options

Defined in:

readability/options.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def attributes : Array(String) #

[View source]
def blacklist : Array(String) #

[View source]
def clean_conditionally : Bool #

[View source]
def debug : Bool #

[View source]
def ignore_image_format : Array(String) #

[View source]
def min_image_height : Int32 #

[View source]
def min_image_width : Int32 #

[View source]
def min_text_length : Int32 #

[View source]
def remove_empty_nodes : Bool #

[View source]
def remove_unlikely_candidates : Bool #

[View source]
def retry_length : Int32 #

[View source]
def return_nil_content : Bool #

[View source]
def tags : Array(String) #

[View source]
def weight_classes : Bool #

[View source]
def whitelist : Array(String) #

[View source]