Class: HtmlToMarkdown::AnnotationKindStrikethrough
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::AnnotationKindStrikethrough
- 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
- #bold? ⇒ Boolean
- #code? ⇒ Boolean
- #highlight? ⇒ Boolean
- #italic? ⇒ Boolean
- #link? ⇒ Boolean
- #strikethrough? ⇒ Boolean
- #subscript? ⇒ Boolean
- #superscript? ⇒ Boolean
- #underline? ⇒ Boolean
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
201 |
# File 'lib/html_to_markdown/native.rb', line 201 def bold? = false |
#code? ⇒ Boolean
209 |
# File 'lib/html_to_markdown/native.rb', line 209 def code? = false |
#highlight? ⇒ Boolean
215 |
# File 'lib/html_to_markdown/native.rb', line 215 def highlight? = false |
#italic? ⇒ Boolean
203 |
# File 'lib/html_to_markdown/native.rb', line 203 def italic? = false |
#link? ⇒ 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
207 |
# File 'lib/html_to_markdown/native.rb', line 207 def strikethrough? = true |
#subscript? ⇒ Boolean
211 |
# File 'lib/html_to_markdown/native.rb', line 211 def subscript? = false |
#superscript? ⇒ Boolean
213 |
# File 'lib/html_to_markdown/native.rb', line 213 def superscript? = false |
#underline? ⇒ Boolean
205 |
# File 'lib/html_to_markdown/native.rb', line 205 def underline? = false |