Class: Xberg::RevisionAnchorSheet
- Inherits:
-
Data
- Object
- Data
- Xberg::RevisionAnchorSheet
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/xberg/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
4101 4102 4103 |
# File 'lib/xberg/native.rb', line 4101 def index @index end |
#name ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4101 4102 4103 |
# File 'lib/xberg/native.rb', line 4101 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
4126 4127 4128 |
# File 'lib/xberg/native.rb', line 4126 def self.from_hash(hash) new(index: hash[:index] || hash["index"], name: hash[:name] || hash["name"]) end |
Instance Method Details
#page? ⇒ Boolean
4118 |
# File 'lib/xberg/native.rb', line 4118 def page? = false |
#paragraph? ⇒ Boolean
4114 |
# File 'lib/xberg/native.rb', line 4114 def paragraph? = false |
#sheet? ⇒ Boolean
4122 4123 4124 |
# File 'lib/xberg/native.rb', line 4122 def sheet? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4120 |
# File 'lib/xberg/native.rb', line 4120 def = false |
#table_cell? ⇒ Boolean
4116 |
# File 'lib/xberg/native.rb', line 4116 def table_cell? = false |