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
4041 4042 4043 |
# File 'lib/xberg/native.rb', line 4041 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4062 4063 4064 |
# File 'lib/xberg/native.rb', line 4062 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4054 |
# File 'lib/xberg/native.rb', line 4054 def page? = true |
#paragraph? ⇒ Boolean
4050 |
# File 'lib/xberg/native.rb', line 4050 def paragraph? = false |
#sheet? ⇒ Boolean
4058 4059 4060 |
# File 'lib/xberg/native.rb', line 4058 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4056 |
# File 'lib/xberg/native.rb', line 4056 def = false |
#table_cell? ⇒ Boolean
4052 |
# File 'lib/xberg/native.rb', line 4052 def table_cell? = false |