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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


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

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false