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



1941
1942
1943
# File 'lib/xberg/native.rb', line 1941

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


1937
1938
1939
# File 'lib/xberg/native.rb', line 1937

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false