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



186
187
188
# File 'lib/xberg/native.rb', line 186

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


182
183
184
# File 'lib/xberg/native.rb', line 182

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = true