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
Returns the value of attribute index.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index
4933 4934 4935 |
# File 'lib/xberg/native.rb', line 4933 def index @index end |
Class Method Details
.from_hash(hash) ⇒ Object
4953 4954 4955 |
# File 'lib/xberg/native.rb', line 4953 def self.from_hash(hash) new(index: hash[:index] || hash["index"]) end |
Instance Method Details
#page? ⇒ Boolean
4945 |
# File 'lib/xberg/native.rb', line 4945 def page? = true |
#paragraph? ⇒ Boolean
4941 |
# File 'lib/xberg/native.rb', line 4941 def paragraph? = false |
#sheet? ⇒ Boolean
4949 4950 4951 |
# File 'lib/xberg/native.rb', line 4949 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4947 |
# File 'lib/xberg/native.rb', line 4947 def = false |
#table_cell? ⇒ Boolean
4943 |
# File 'lib/xberg/native.rb', line 4943 def table_cell? = false |