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
4049 4050 4051 |
# File 'lib/xberg/native.rb', line 4049 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4070 4071 4072 |
# File 'lib/xberg/native.rb', line 4070 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4062 |
# File 'lib/xberg/native.rb', line 4062 def page? = true |
#paragraph? ⇒ Boolean
4058 |
# File 'lib/xberg/native.rb', line 4058 def paragraph? = false |
#sheet? ⇒ Boolean
4066 4067 4068 |
# File 'lib/xberg/native.rb', line 4066 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4064 |
# File 'lib/xberg/native.rb', line 4064 def = false |
#table_cell? ⇒ Boolean
4060 |
# File 'lib/xberg/native.rb', line 4060 def table_cell? = false |