Class: HtmlToMarkdown::VisitResultSkip

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
VisitResult
Defined in:
lib/html_to_markdown/native.rb

Overview

Skip this element entirely (don't output anything)

The element and all its children are ignored in the output.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



1104
1105
1106
# File 'lib/html_to_markdown/native.rb', line 1104

def self.from_hash(hash)
  new
end

Instance Method Details

#continue? ⇒ Boolean

Returns:

  • (Boolean)


1092
# File 'lib/html_to_markdown/native.rb', line 1092

def continue? = false

#custom? ⇒ Boolean

Returns:

  • (Boolean)


1094
# File 'lib/html_to_markdown/native.rb', line 1094

def custom? = false

#error? ⇒ Boolean

Returns:

  • (Boolean)


1100
1101
1102
# File 'lib/html_to_markdown/native.rb', line 1100

def error? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#preserve_html? ⇒ Boolean

Returns:

  • (Boolean)


1098
# File 'lib/html_to_markdown/native.rb', line 1098

def preserve_html? = false

#skip? ⇒ Boolean

Returns:

  • (Boolean)


1096
# File 'lib/html_to_markdown/native.rb', line 1096

def skip? = true