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
4325 4326 4327 |
# File 'lib/xberg/native.rb', line 4325 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4346 4347 4348 |
# File 'lib/xberg/native.rb', line 4346 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4338 |
# File 'lib/xberg/native.rb', line 4338 def page? = false |
#paragraph? ⇒ Boolean
4334 |
# File 'lib/xberg/native.rb', line 4334 def paragraph? = false |
#sheet? ⇒ Boolean
4342 4343 4344 |
# File 'lib/xberg/native.rb', line 4342 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4340 |
# File 'lib/xberg/native.rb', line 4340 def = true |
#table_cell? ⇒ Boolean
4336 |
# File 'lib/xberg/native.rb', line 4336 def table_cell? = false |