Class: Xberg::NodeContentSlide

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

Overview

Presentation slide container — children are the slide's content nodes.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



4093
4094
4095
# File 'lib/xberg/native.rb', line 4093

def number
  @number
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



4093
4094
4095
# File 'lib/xberg/native.rb', line 4093

def title
  @title
end

Class Method Details

.from_hash(hash) ⇒ Object



4148
4149
4150
# File 'lib/xberg/native.rb', line 4148

def self.from_hash(hash)
  new(number: hash[:number] || hash["number"], title: hash[:title] || hash["title"])
end

Instance Method Details

#admonition?Boolean

Returns:

  • (Boolean)


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

def admonition? = false

#citation?Boolean

Returns:

  • (Boolean)


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

def citation? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#comment?Boolean

Returns:

  • (Boolean)


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

def comment? = false

#definition_item?Boolean

Returns:

  • (Boolean)


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

def definition_item? = false

#definition_list?Boolean

Returns:

  • (Boolean)


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

def definition_list? = false

#footnote?Boolean

Returns:

  • (Boolean)


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

def footnote? = false

#formula?Boolean

Returns:

  • (Boolean)


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

def formula? = false

#group?Boolean

Returns:

  • (Boolean)


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

def group? = false

#heading?Boolean

Returns:

  • (Boolean)


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

def heading? = false

#image?Boolean

Returns:

  • (Boolean)


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

def image? = false

#list?Boolean

Returns:

  • (Boolean)


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

def list? = false

#list_item?Boolean

Returns:

  • (Boolean)


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

def list_item? = false

#metadata_block?Boolean

Returns:

  • (Boolean)


4144
4145
4146
# File 'lib/xberg/native.rb', line 4144

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

#page_break?Boolean

Returns:

  • (Boolean)


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

def page_break? = false

#paragraph?Boolean

Returns:

  • (Boolean)


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

def paragraph? = false

#quote?Boolean

Returns:

  • (Boolean)


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

def quote? = false

#raw_block?Boolean

Returns:

  • (Boolean)


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

def raw_block? = false

#slide?Boolean

Returns:

  • (Boolean)


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

def slide? = true

#table?Boolean

Returns:

  • (Boolean)


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

def table? = false

#title?Boolean

Returns:

  • (Boolean)


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

def title? = false