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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2583
2584
2585
# File 'lib/xberg/native.rb', line 2583

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false