Class: Xberg::AnnotationKindStrikethrough

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
AnnotationKind
Defined in:
lib/xberg/native.rb

Overview

Strikethrough text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2049
2050
2051
# File 'lib/xberg/native.rb', line 2049

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


2023
# File 'lib/xberg/native.rb', line 2023

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


2031
# File 'lib/xberg/native.rb', line 2031

def code? = false

#color?Boolean

Returns:

  • (Boolean)


2041
# File 'lib/xberg/native.rb', line 2041

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2045
2046
2047
# File 'lib/xberg/native.rb', line 2045

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

#font_size?Boolean

Returns:

  • (Boolean)


2043
# File 'lib/xberg/native.rb', line 2043

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


2039
# File 'lib/xberg/native.rb', line 2039

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


2025
# File 'lib/xberg/native.rb', line 2025

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


2037
# File 'lib/xberg/native.rb', line 2037

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


2029
# File 'lib/xberg/native.rb', line 2029

def strikethrough? = true

#subscript?Boolean

Returns:

  • (Boolean)


2033
# File 'lib/xberg/native.rb', line 2033

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


2035
# File 'lib/xberg/native.rb', line 2035

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


2027
# File 'lib/xberg/native.rb', line 2027

def underline? = false