Class: HtmlToMarkdown::PreprocessingOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ PreprocessingOptions

Returns a new instance of PreprocessingOptions.

Parameters:

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


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

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

Instance Attribute Details

#enabled ⇒ Boolean (readonly)

Returns the value of attribute enabled.

Returns:

  • (Boolean)


238
239
240
# File 'sig/types.rbs', line 238

def enabled
  @enabled
end

#preset ⇒ enum_PreprocessingPreset (readonly)

Returns the value of attribute preset.

Returns:

  • (enum_PreprocessingPreset)


239
240
241
# File 'sig/types.rbs', line 239

def preset
  @preset
end

#remove_forms ⇒ Boolean (readonly)

Returns the value of attribute remove_forms.

Returns:

  • (Boolean)


241
242
243
# File 'sig/types.rbs', line 241

def remove_forms
  @remove_forms
end

#remove_navigation ⇒ Boolean (readonly)

Returns the value of attribute remove_navigation.

Returns:

  • (Boolean)


240
241
242
# File 'sig/types.rbs', line 240

def remove_navigation
  @remove_navigation
end