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
767 768 769 |
# File 'lib/html_to_markdown/native.rb', line 767 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
747 |
# File 'lib/html_to_markdown/native.rb', line 747 def bold? = false |
#code? ⇒ Boolean
755 |
# File 'lib/html_to_markdown/native.rb', line 755 def code? = false |
#highlight? ⇒ Boolean
761 |
# File 'lib/html_to_markdown/native.rb', line 761 def highlight? = false |
#italic? ⇒ Boolean
749 |
# File 'lib/html_to_markdown/native.rb', line 749 def italic? = false |
#link? ⇒ Boolean
763 764 765 |
# File 'lib/html_to_markdown/native.rb', line 763 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
753 |
# File 'lib/html_to_markdown/native.rb', line 753 def strikethrough? = true |
#subscript? ⇒ Boolean
757 |
# File 'lib/html_to_markdown/native.rb', line 757 def subscript? = false |
#superscript? ⇒ Boolean
759 |
# File 'lib/html_to_markdown/native.rb', line 759 def superscript? = false |
#underline? ⇒ Boolean
751 |
# File 'lib/html_to_markdown/native.rb', line 751 def underline? = false |