Class: Xberg::AnnotationKindSubscript

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
AnnotationKind
Defined in:
lib/xberg/native.rb

Overview

Subscript text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2239
2240
2241
# File 'lib/xberg/native.rb', line 2239

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2235
2236
2237
# File 'lib/xberg/native.rb', line 2235

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false