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



1062
1063
1064
# File 'lib/html_to_markdown/native.rb', line 1062

def self.from_hash(hash)
  new
end

Instance Method Details

#continue?Boolean

Returns:

  • (Boolean)


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

def continue? = false

#custom?Boolean

Returns:

  • (Boolean)


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

def custom? = false

#error?Boolean

Returns:

  • (Boolean)


1058
1059
1060
# File 'lib/html_to_markdown/native.rb', line 1058

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

#preserve_html?Boolean

Returns:

  • (Boolean)


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

def preserve_html? = false

#skip?Boolean

Returns:

  • (Boolean)


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

def skip? = true