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



794
795
796
# File 'lib/html_to_markdown/native.rb', line 794

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


790
791
792
# File 'lib/html_to_markdown/native.rb', line 790

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = true

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false