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



221
222
223
# File 'lib/html_to_markdown/native.rb', line 221

def self.from_hash(hash)
  new
end

Instance Method Details

#bold? ⇒ Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code? ⇒ Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight? ⇒ Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic? ⇒ Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link? ⇒ Boolean

Returns:

  • (Boolean)


217
218
219
# File 'lib/html_to_markdown/native.rb', line 217

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

#strikethrough? ⇒ Boolean

Returns:

  • (Boolean)


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

def strikethrough? = true

#subscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline? ⇒ Boolean

Returns:

  • (Boolean)


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

def underline? = false