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



2125
2126
2127
# File 'lib/xberg/native.rb', line 2125

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2121
2122
2123
# File 'lib/xberg/native.rb', line 2121

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = true