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



822
823
824
# File 'lib/html_to_markdown/native.rb', line 822

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


818
819
820
# File 'lib/html_to_markdown/native.rb', line 818

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = true

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false