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
3874 3875 3876 |
# File 'lib/xberg/native.rb', line 3874 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
3894 3895 3896 |
# File 'lib/xberg/native.rb', line 3894 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
3886 |
# File 'lib/xberg/native.rb', line 3886 def page? = false |
#paragraph? ⇒ Boolean
3882 |
# File 'lib/xberg/native.rb', line 3882 def paragraph? = false |
#sheet? ⇒ Boolean
3890 3891 3892 |
# File 'lib/xberg/native.rb', line 3890 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3888 |
# File 'lib/xberg/native.rb', line 3888 def = true |
#table_cell? ⇒ Boolean
3884 |
# File 'lib/xberg/native.rb', line 3884 def table_cell? = false |