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
Returns the value of attribute col.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
-
#table_index ⇒ Object
readonly
Returns the value of attribute table_index.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#col ⇒ Object (readonly)
Returns the value of attribute col
4898 4899 4900 |
# File 'lib/xberg/native.rb', line 4898 def col @col end |
#row ⇒ Object (readonly)
Returns the value of attribute row
4898 4899 4900 |
# File 'lib/xberg/native.rb', line 4898 def row @row end |
#table_index ⇒ Object (readonly)
Returns the value of attribute table_index
4898 4899 4900 |
# File 'lib/xberg/native.rb', line 4898 def table_index @table_index end |
Class Method Details
.from_hash(hash) ⇒ Object
4924 4925 4926 4927 4928 4929 4930 |
# File 'lib/xberg/native.rb', line 4924 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
4916 |
# File 'lib/xberg/native.rb', line 4916 def page? = false |
#paragraph? ⇒ Boolean
4912 |
# File 'lib/xberg/native.rb', line 4912 def paragraph? = false |
#sheet? ⇒ Boolean
4920 4921 4922 |
# File 'lib/xberg/native.rb', line 4920 def sheet? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#slide? ⇒ Boolean
4918 |
# File 'lib/xberg/native.rb', line 4918 def = false |
#table_cell? ⇒ Boolean
4914 |
# File 'lib/xberg/native.rb', line 4914 def table_cell? = true |