Class: Xberg::AnnotationKindCode

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

Overview

Inline code span.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2440
2441
2442
# File 'lib/xberg/native.rb', line 2440

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2436
2437
2438
# File 'lib/xberg/native.rb', line 2436

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false