Class: Xberg::AnnotationKindItalic

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

Overview

Italic (emphasis) text formatting.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



2407
2408
2409
# File 'lib/xberg/native.rb', line 2407

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#color?Boolean

Returns:

  • (Boolean)


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

def color? = false

#custom?Boolean

Returns:

  • (Boolean)


2403
2404
2405
# File 'lib/xberg/native.rb', line 2403

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

#font_size?Boolean

Returns:

  • (Boolean)


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

def font_size? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


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

def link? = false

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false