Class: Xberg::AnnotationKindSubscript

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

Overview

Subscript text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


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

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false