Class: Xberg::AnnotationKindSuperscript

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

Overview

Superscript text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2275
2276
2277
# File 'lib/xberg/native.rb', line 2275

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2271
2272
2273
# File 'lib/xberg/native.rb', line 2271

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false