Class: Xberg::RevisionAnchorPage
- Inherits:
-
Data
- Object
- Data
- Xberg::RevisionAnchorPage
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/xberg/native.rb
Overview
Page, 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
4374 4375 4376 |
# File 'lib/xberg/native.rb', line 4374 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4395 4396 4397 |
# File 'lib/xberg/native.rb', line 4395 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4387 |
# File 'lib/xberg/native.rb', line 4387 def page? = true |
#paragraph? ⇒ Boolean
4383 |
# File 'lib/xberg/native.rb', line 4383 def paragraph? = false |
#sheet? ⇒ Boolean
4391 4392 4393 |
# File 'lib/xberg/native.rb', line 4391 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4389 |
# File 'lib/xberg/native.rb', line 4389 def = false |
#table_cell? ⇒ Boolean
4385 |
# File 'lib/xberg/native.rb', line 4385 def table_cell? = false |