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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2367
2368
2369
# File 'lib/xberg/native.rb', line 2367

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false