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



2051
2052
2053
# File 'lib/xberg/native.rb', line 2051

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2047
2048
2049
# File 'lib/xberg/native.rb', line 2047

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false