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



330
331
332
# File 'lib/xberg/native.rb', line 330

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


326
327
328
# File 'lib/xberg/native.rb', line 326

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false