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



2131
2132
2133
# File 'lib/xberg/native.rb', line 2131

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2127
2128
2129
# File 'lib/xberg/native.rb', line 2127

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = true