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



2443
2444
2445
# File 'lib/xberg/native.rb', line 2443

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2439
2440
2441
# File 'lib/xberg/native.rb', line 2439

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = true