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



2470
2471
2472
# File 'lib/xberg/native.rb', line 2470

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2466
2467
2468
# File 'lib/xberg/native.rb', line 2466

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = true