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



2203
2204
2205
# File 'lib/xberg/native.rb', line 2203

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2199
2200
2201
# File 'lib/xberg/native.rb', line 2199

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false