Class: HtmlToMarkdown::PreprocessingOptions

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePreprocessingOptions

Returns a new instance of PreprocessingOptions.

Parameters:

  • enabled: (Boolean)
  • preset: (PreprocessingPreset)
  • remove_navigation: (Boolean)
  • remove_forms: (Boolean)


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

def initialize: (?enabled: bool, ?preset: PreprocessingPreset, ?remove_navigation: bool, ?remove_forms: bool) -> void

Instance Attribute Details

#enabledBoolean?

Returns the value of attribute enabled.

Returns:

  • (Boolean, nil)


179
180
181
# File 'sig/types.rbs', line 179

def enabled
  @enabled
end

#presetPreprocessingPreset?

Returns the value of attribute preset.

Returns:



180
181
182
# File 'sig/types.rbs', line 180

def preset
  @preset
end

#remove_formsBoolean?

Returns the value of attribute remove_forms.

Returns:

  • (Boolean, nil)


182
183
184
# File 'sig/types.rbs', line 182

def remove_forms
  @remove_forms
end

#remove_navigationBoolean?

Returns the value of attribute remove_navigation.

Returns:

  • (Boolean, nil)


181
182
183
# File 'sig/types.rbs', line 181

def remove_navigation
  @remove_navigation
end

Class Method Details

.defaultPreprocessingOptions



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

def self.default: () -> PreprocessingOptions