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
849 850 851 |
# File 'lib/html_to_markdown/native.rb', line 849 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
829 |
# File 'lib/html_to_markdown/native.rb', line 829 def bold? = false |
#code? ⇒ Boolean
837 |
# File 'lib/html_to_markdown/native.rb', line 837 def code? = false |
#highlight? ⇒ Boolean
843 |
# File 'lib/html_to_markdown/native.rb', line 843 def highlight? = false |
#italic? ⇒ Boolean
831 |
# File 'lib/html_to_markdown/native.rb', line 831 def italic? = false |
#link? ⇒ Boolean
845 846 847 |
# File 'lib/html_to_markdown/native.rb', line 845 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
835 |
# File 'lib/html_to_markdown/native.rb', line 835 def strikethrough? = true |
#subscript? ⇒ Boolean
839 |
# File 'lib/html_to_markdown/native.rb', line 839 def subscript? = false |
#superscript? ⇒ Boolean
841 |
# File 'lib/html_to_markdown/native.rb', line 841 def superscript? = false |
#underline? ⇒ Boolean
833 |
# File 'lib/html_to_markdown/native.rb', line 833 def underline? = false |