Class: HtmlToMarkdown::PreprocessingOptions

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

Instance Attribute 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)


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

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

Instance Attribute Details

#enabledBoolean (readonly)

Returns the value of attribute enabled.

Returns:

  • (Boolean)


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

def enabled
  @enabled
end

#presetPreprocessingPreset (readonly)

Returns the value of attribute preset.

Returns:



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

def preset
  @preset
end

#remove_formsBoolean (readonly)

Returns the value of attribute remove_forms.

Returns:

  • (Boolean)


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

def remove_forms
  @remove_forms
end

#remove_navigationBoolean (readonly)

Returns the value of attribute remove_navigation.

Returns:

  • (Boolean)


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

def remove_navigation
  @remove_navigation
end