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



2512
2513
2514
# File 'lib/xberg/native.rb', line 2512

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2508
2509
2510
# File 'lib/xberg/native.rb', line 2508

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false