Class: Kreuzberg::RevisionAnchorPage
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::RevisionAnchorPage
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/kreuzberg/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
3841 3842 3843 |
# File 'lib/kreuzberg/native.rb', line 3841 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
3861 3862 3863 |
# File 'lib/kreuzberg/native.rb', line 3861 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
3853 |
# File 'lib/kreuzberg/native.rb', line 3853 def page? = true |
#paragraph? ⇒ Boolean
3849 |
# File 'lib/kreuzberg/native.rb', line 3849 def paragraph? = false |
#sheet? ⇒ Boolean
3857 3858 3859 |
# File 'lib/kreuzberg/native.rb', line 3857 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3855 |
# File 'lib/kreuzberg/native.rb', line 3855 def = false |
#table_cell? ⇒ Boolean
3851 |
# File 'lib/kreuzberg/native.rb', line 3851 def table_cell? = false |