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



2059
2060
2061
# File 'lib/xberg/native.rb', line 2059

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2055
2056
2057
# File 'lib/xberg/native.rb', line 2055

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false