Class: Kreuzberg::RevisionAnchorSheet
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::RevisionAnchorSheet
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/kreuzberg/native.rb
Overview
Spreadsheet cell or range, identified by sheet index and optional name.
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
-
#name ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3426 3427 3428 |
# File 'lib/kreuzberg/native.rb', line 3426 def index @index end |
#name ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3426 3427 3428 |
# File 'lib/kreuzberg/native.rb', line 3426 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
3449 3450 3451 |
# File 'lib/kreuzberg/native.rb', line 3449 def self.from_hash(hash) new(index: hash[:index] || hash["index"], name: hash[:name] || hash["name"]) end |
Instance Method Details
#page? ⇒ Boolean
3441 |
# File 'lib/kreuzberg/native.rb', line 3441 def page? = false |
#paragraph? ⇒ Boolean
3437 |
# File 'lib/kreuzberg/native.rb', line 3437 def paragraph? = false |
#sheet? ⇒ Boolean
3445 3446 3447 |
# File 'lib/kreuzberg/native.rb', line 3445 def sheet? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
3443 |
# File 'lib/kreuzberg/native.rb', line 3443 def = false |
#table_cell? ⇒ Boolean
3439 |
# File 'lib/kreuzberg/native.rb', line 3439 def table_cell? = false |