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



114
115
116
# File 'lib/xberg/native.rb', line 114

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


110
111
112
# File 'lib/xberg/native.rb', line 110

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false