Class: Xberg::AnnotationKindSuperscript

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
AnnotationKind
Defined in:
lib/xberg/native.rb

Overview

Superscript text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2614
2615
2616
# File 'lib/xberg/native.rb', line 2614

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2610
2611
2612
# File 'lib/xberg/native.rb', line 2610

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false