Class: EBPS::Text::Cell
Instance Attribute Summary collapse
-
#col_span ⇒ Object
Returns the value of attribute col_span.
-
#row_span ⇒ Object
Returns the value of attribute row_span.
Attributes inherited from Paragraph
Instance Method Summary collapse
-
#initialize(*args) ⇒ Cell
constructor
A new instance of Cell.
Methods inherited from Paragraph
#<<, #method_missing, #set_format, #to_s
Constructor Details
#initialize(*args) ⇒ Cell
Returns a new instance of Cell.
10 11 12 13 14 |
# File 'lib/ebps/text/table.rb', line 10 def initialize(*args) @col_span = 1 @row_span = 1 super(*args) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class EBPS::Text::Paragraph
Instance Attribute Details
#col_span ⇒ Object
Returns the value of attribute col_span.
9 10 11 |
# File 'lib/ebps/text/table.rb', line 9 def col_span @col_span end |
#row_span ⇒ Object
Returns the value of attribute row_span.
9 10 11 |
# File 'lib/ebps/text/table.rb', line 9 def row_span @row_span end |