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



2296
2297
2298
# File 'lib/xberg/native.rb', line 2296

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2292
2293
2294
# File 'lib/xberg/native.rb', line 2292

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false