Class: Xberg::ContentConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContentConfig

Returns a new instance of ContentConfig.

Parameters:

  • output_format: (String)
  • preprocessing_preset: (String)
  • remove_navigation: (Boolean)
  • remove_forms: (Boolean)
  • strip_tags: (Array[String])
  • preserve_tags: (Array[String])
  • exclude_selectors: (Array[String])
  • skip_images: (Boolean)
  • max_depth: (Integer)
  • wrap: (Boolean)
  • wrap_width: (Integer)
  • include_document_structure: (Boolean)


2107
# File 'sig/types.rbs', line 2107

def initialize: (?output_format: String, ?preprocessing_preset: String, ?remove_navigation: bool, ?remove_forms: bool, ?strip_tags: Array[String], ?preserve_tags: Array[String], ?exclude_selectors: Array[String], ?skip_images: bool, ?max_depth: Integer, ?wrap: bool, ?wrap_width: Integer, ?include_document_structure: bool) -> void

Instance Attribute Details

#exclude_selectorsArray[String]?

Returns the value of attribute exclude_selectors.

Returns:

  • (Array[String], nil)


2100
2101
2102
# File 'sig/types.rbs', line 2100

def exclude_selectors
  @exclude_selectors
end

#include_document_structureBoolean?

Returns the value of attribute include_document_structure.

Returns:

  • (Boolean, nil)


2105
2106
2107
# File 'sig/types.rbs', line 2105

def include_document_structure
  @include_document_structure
end

#max_depthInteger?

Returns the value of attribute max_depth.

Returns:

  • (Integer, nil)


2102
2103
2104
# File 'sig/types.rbs', line 2102

def max_depth
  @max_depth
end

#output_formatString?

Returns the value of attribute output_format.

Returns:

  • (String, nil)


2094
2095
2096
# File 'sig/types.rbs', line 2094

def output_format
  @output_format
end

#preprocessing_presetString?

Returns the value of attribute preprocessing_preset.

Returns:

  • (String, nil)


2095
2096
2097
# File 'sig/types.rbs', line 2095

def preprocessing_preset
  @preprocessing_preset
end

#preserve_tagsArray[String]?

Returns the value of attribute preserve_tags.

Returns:

  • (Array[String], nil)


2099
2100
2101
# File 'sig/types.rbs', line 2099

def preserve_tags
  @preserve_tags
end

#remove_formsBoolean?

Returns the value of attribute remove_forms.

Returns:

  • (Boolean, nil)


2097
2098
2099
# File 'sig/types.rbs', line 2097

def remove_forms
  @remove_forms
end

#remove_navigationBoolean?

Returns the value of attribute remove_navigation.

Returns:

  • (Boolean, nil)


2096
2097
2098
# File 'sig/types.rbs', line 2096

def remove_navigation
  @remove_navigation
end

#skip_imagesBoolean?

Returns the value of attribute skip_images.

Returns:

  • (Boolean, nil)


2101
2102
2103
# File 'sig/types.rbs', line 2101

def skip_images
  @skip_images
end

#strip_tagsArray[String]?

Returns the value of attribute strip_tags.

Returns:

  • (Array[String], nil)


2098
2099
2100
# File 'sig/types.rbs', line 2098

def strip_tags
  @strip_tags
end

#wrapBoolean?

Returns the value of attribute wrap.

Returns:

  • (Boolean, nil)


2103
2104
2105
# File 'sig/types.rbs', line 2103

def wrap
  @wrap
end

#wrap_widthInteger?

Returns the value of attribute wrap_width.

Returns:

  • (Integer, nil)


2104
2105
2106
# File 'sig/types.rbs', line 2104

def wrap_width
  @wrap_width
end