Class: Xberg::AnnotationKindUnderline

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

Overview

Underlined text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2123
2124
2125
# File 'lib/xberg/native.rb', line 2123

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2119
2120
2121
# File 'lib/xberg/native.rb', line 2119

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = true