Class: Xberg::AnnotationKindBold

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

Overview

Bold (strong) text formatting.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2398
2399
2400
# File 'lib/xberg/native.rb', line 2398

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2394
2395
2396
# File 'lib/xberg/native.rb', line 2394

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false