Class: Xberg::ContentConfig
- Inherits:
-
Object
- Object
- Xberg::ContentConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#exclude_selectors ⇒ Array[String]?
Returns the value of attribute exclude_selectors.
-
#include_document_structure ⇒ Boolean?
Returns the value of attribute include_document_structure.
-
#max_depth ⇒ Integer?
Returns the value of attribute max_depth.
-
#output_format ⇒ String?
Returns the value of attribute output_format.
-
#preprocessing_preset ⇒ String?
Returns the value of attribute preprocessing_preset.
-
#preserve_tags ⇒ Array[String]?
Returns the value of attribute preserve_tags.
-
#remove_forms ⇒ Boolean?
Returns the value of attribute remove_forms.
-
#remove_navigation ⇒ Boolean?
Returns the value of attribute remove_navigation.
-
#skip_images ⇒ Boolean?
Returns the value of attribute skip_images.
-
#strip_tags ⇒ Array[String]?
Returns the value of attribute strip_tags.
-
#wrap ⇒ Boolean?
Returns the value of attribute wrap.
-
#wrap_width ⇒ Integer?
Returns the value of attribute wrap_width.
Instance Method Summary collapse
-
#initialize ⇒ ContentConfig
constructor
A new instance of ContentConfig.
Constructor Details
#initialize ⇒ ContentConfig
Returns a new instance of ContentConfig.
2211 |
# File 'sig/types.rbs', line 2211
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_selectors ⇒ Array[String]?
Returns the value of attribute exclude_selectors.
2204 2205 2206 |
# File 'sig/types.rbs', line 2204 def exclude_selectors @exclude_selectors end |
#include_document_structure ⇒ Boolean?
Returns the value of attribute include_document_structure.
2209 2210 2211 |
# File 'sig/types.rbs', line 2209 def include_document_structure @include_document_structure end |
#max_depth ⇒ Integer?
Returns the value of attribute max_depth.
2206 2207 2208 |
# File 'sig/types.rbs', line 2206 def max_depth @max_depth end |
#output_format ⇒ String?
Returns the value of attribute output_format.
2198 2199 2200 |
# File 'sig/types.rbs', line 2198 def output_format @output_format end |
#preprocessing_preset ⇒ String?
Returns the value of attribute preprocessing_preset.
2199 2200 2201 |
# File 'sig/types.rbs', line 2199 def preprocessing_preset @preprocessing_preset end |
#preserve_tags ⇒ Array[String]?
Returns the value of attribute preserve_tags.
2203 2204 2205 |
# File 'sig/types.rbs', line 2203 def @preserve_tags end |
#remove_forms ⇒ Boolean?
Returns the value of attribute remove_forms.
2201 2202 2203 |
# File 'sig/types.rbs', line 2201 def remove_forms @remove_forms end |
#remove_navigation ⇒ Boolean?
Returns the value of attribute remove_navigation.
2200 2201 2202 |
# File 'sig/types.rbs', line 2200 def @remove_navigation end |
#skip_images ⇒ Boolean?
Returns the value of attribute skip_images.
2205 2206 2207 |
# File 'sig/types.rbs', line 2205 def skip_images @skip_images end |
#strip_tags ⇒ Array[String]?
Returns the value of attribute strip_tags.
2202 2203 2204 |
# File 'sig/types.rbs', line 2202 def @strip_tags end |
#wrap ⇒ Boolean?
Returns the value of attribute wrap.
2207 2208 2209 |
# File 'sig/types.rbs', line 2207 def wrap @wrap end |
#wrap_width ⇒ Integer?
Returns the value of attribute wrap_width.
2208 2209 2210 |
# File 'sig/types.rbs', line 2208 def wrap_width @wrap_width end |