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
3849 3850 3851 |
# File 'lib/xberg/native.rb', line 3849 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
3869 3870 3871 |
# File 'lib/xberg/native.rb', line 3869 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
3861 |
# File 'lib/xberg/native.rb', line 3861 def page? = true |
#paragraph? ⇒ Boolean
3857 |
# File 'lib/xberg/native.rb', line 3857 def paragraph? = false |
#sheet? ⇒ Boolean
3865 3866 3867 |
# File 'lib/xberg/native.rb', line 3865 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3863 |
# File 'lib/xberg/native.rb', line 3863 def = false |
#table_cell? ⇒ Boolean
3859 |
# File 'lib/xberg/native.rb', line 3859 def table_cell? = false |