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
4011 4012 4013 |
# File 'lib/xberg/native.rb', line 4011 def col @col end |
#row ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4011 4012 4013 |
# File 'lib/xberg/native.rb', line 4011 def row @row end |
#table_index ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4011 4012 4013 |
# File 'lib/xberg/native.rb', line 4011 def table_index @table_index end |
Class Method Details
.from_hash(hash) ⇒ Object
4040 4041 4042 4043 4044 4045 4046 |
# File 'lib/xberg/native.rb', line 4040 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
4032 |
# File 'lib/xberg/native.rb', line 4032 def page? = false |
#paragraph? ⇒ Boolean
4028 |
# File 'lib/xberg/native.rb', line 4028 def paragraph? = false |
#sheet? ⇒ Boolean
4036 4037 4038 |
# File 'lib/xberg/native.rb', line 4036 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4034 |
# File 'lib/xberg/native.rb', line 4034 def = false |
#table_cell? ⇒ Boolean
4030 |
# File 'lib/xberg/native.rb', line 4030 def table_cell? = true |