Class: HtmlToMarkdown::AnnotationKindStrikethrough

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

Overview

Strikethrough / deleted text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



849
850
851
# File 'lib/html_to_markdown/native.rb', line 849

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


845
846
847
# File 'lib/html_to_markdown/native.rb', line 845

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = true

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false