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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


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

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false