Class: Xberg::AnnotationKindStrikethrough

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

Overview

Strikethrough text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



222
223
224
# File 'lib/xberg/native.rb', line 222

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


218
219
220
# File 'lib/xberg/native.rb', line 218

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = true

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false