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



294
295
296
# File 'lib/xberg/native.rb', line 294

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


290
291
292
# File 'lib/xberg/native.rb', line 290

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false