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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


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

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false