Class: Xberg::RevisionAnchorSlide
- Inherits:
-
Data
- Object
- Data
- Xberg::RevisionAnchorSlide
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/xberg/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
4427 4428 4429 |
# File 'lib/xberg/native.rb', line 4427 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4448 4449 4450 |
# File 'lib/xberg/native.rb', line 4448 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4440 |
# File 'lib/xberg/native.rb', line 4440 def page? = false |
#paragraph? ⇒ Boolean
4436 |
# File 'lib/xberg/native.rb', line 4436 def paragraph? = false |
#sheet? ⇒ Boolean
4444 4445 4446 |
# File 'lib/xberg/native.rb', line 4444 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4442 |
# File 'lib/xberg/native.rb', line 4442 def = true |
#table_cell? ⇒ Boolean
4438 |
# File 'lib/xberg/native.rb', line 4438 def table_cell? = false |