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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2547
2548
2549
# File 'lib/xberg/native.rb', line 2547

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false