Class: Xberg::RevisionAnchorTableCell
- Inherits:
-
Data
- Object
- Data
- Xberg::RevisionAnchorTableCell
- Extended by:
- T::Sig
- Includes:
- RevisionAnchor
- Defined in:
- lib/xberg/native.rb
Overview
Cell inside a table.
Instance Attribute Summary collapse
-
#col ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
-
#row ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
-
#table_index ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#col ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4363 4364 4365 |
# File 'lib/xberg/native.rb', line 4363 def col @col end |
#row ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4363 4364 4365 |
# File 'lib/xberg/native.rb', line 4363 def row @row end |
#table_index ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4363 4364 4365 |
# File 'lib/xberg/native.rb', line 4363 def table_index @table_index end |
Class Method Details
.from_hash(hash) ⇒ Object
4392 4393 4394 4395 4396 4397 4398 |
# File 'lib/xberg/native.rb', line 4392 def self.from_hash(hash) new( row: hash[:row] || hash["row"], col: hash[:col] || hash["col"], table_index: hash[:table_index] || hash["table_index"] ) end |
Instance Method Details
#page? ⇒ Boolean
4384 |
# File 'lib/xberg/native.rb', line 4384 def page? = false |
#paragraph? ⇒ Boolean
4380 |
# File 'lib/xberg/native.rb', line 4380 def paragraph? = false |
#sheet? ⇒ Boolean
4388 4389 4390 |
# File 'lib/xberg/native.rb', line 4388 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4386 |
# File 'lib/xberg/native.rb', line 4386 def = false |
#table_cell? ⇒ Boolean
4382 |
# File 'lib/xberg/native.rb', line 4382 def table_cell? = true |