Class: PdfTempura::Document::Table::Column
- Inherits:
-
Object
- Object
- PdfTempura::Document::Table::Column
- Defined in:
- lib/pdf_tempura/document/table/column.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
- #generates_field? ⇒ Boolean
-
#initialize(name, width, height, options = {}) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(name, width, height, options = {}) ⇒ Column
Returns a new instance of Column.
6 7 8 9 10 11 |
# File 'lib/pdf_tempura/document/table/column.rb', line 6 def initialize(name, width, height, = {}) @name = name @width = width @height = height @options = end |
Instance Attribute Details
#height ⇒ Object (readonly)
Returns the value of attribute height.
4 5 6 |
# File 'lib/pdf_tempura/document/table/column.rb', line 4 def height @height end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/pdf_tempura/document/table/column.rb', line 4 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/pdf_tempura/document/table/column.rb', line 4 def @options end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
4 5 6 |
# File 'lib/pdf_tempura/document/table/column.rb', line 4 def width @width end |
Instance Method Details
#generates_field? ⇒ Boolean
13 14 15 |
# File 'lib/pdf_tempura/document/table/column.rb', line 13 def generates_field? true end |