Class: Kreuzberg::RevisionAnchorSlide
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::RevisionAnchorSlide
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/kreuzberg/native.rb
Overview
Presentation slide, identified by its zero-based index.
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3401 3402 3403 |
# File 'lib/kreuzberg/native.rb', line 3401 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
3421 3422 3423 |
# File 'lib/kreuzberg/native.rb', line 3421 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
3413 |
# File 'lib/kreuzberg/native.rb', line 3413 def page? = false |
#paragraph? ⇒ Boolean
3409 |
# File 'lib/kreuzberg/native.rb', line 3409 def paragraph? = false |
#sheet? ⇒ Boolean
3417 3418 3419 |
# File 'lib/kreuzberg/native.rb', line 3417 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3415 |
# File 'lib/kreuzberg/native.rb', line 3415 def = true |
#table_cell? ⇒ Boolean
3411 |
# File 'lib/kreuzberg/native.rb', line 3411 def table_cell? = false |