Class: Xberg::AnnotationKindCode

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

Overview

Inline code span.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



258
259
260
# File 'lib/xberg/native.rb', line 258

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


254
255
256
# File 'lib/xberg/native.rb', line 254

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false