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
3866 3867 3868 |
# File 'lib/kreuzberg/native.rb', line 3866 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
3886 3887 3888 |
# File 'lib/kreuzberg/native.rb', line 3886 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
3878 |
# File 'lib/kreuzberg/native.rb', line 3878 def page? = false |
#paragraph? ⇒ Boolean
3874 |
# File 'lib/kreuzberg/native.rb', line 3874 def paragraph? = false |
#sheet? ⇒ Boolean
3882 3883 3884 |
# File 'lib/kreuzberg/native.rb', line 3882 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3880 |
# File 'lib/kreuzberg/native.rb', line 3880 def = true |
#table_cell? ⇒ Boolean
3876 |
# File 'lib/kreuzberg/native.rb', line 3876 def table_cell? = false |