Class: AmazonTRP::Row
- Inherits:
-
Object
- Object
- AmazonTRP::Row
- Defined in:
- lib/amazon-textract-parser-ruby.rb
Instance Attribute Summary collapse
-
#cells ⇒ Object
readonly
Returns the value of attribute cells.
Instance Method Summary collapse
-
#initialize ⇒ Row
constructor
A new instance of Row.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Row
Returns a new instance of Row.
364 365 366 |
# File 'lib/amazon-textract-parser-ruby.rb', line 364 def initialize @cells = [] end |
Instance Attribute Details
#cells ⇒ Object (readonly)
Returns the value of attribute cells.
362 363 364 |
# File 'lib/amazon-textract-parser-ruby.rb', line 362 def cells @cells end |
Instance Method Details
#to_s ⇒ Object
368 369 370 371 372 373 374 |
# File 'lib/amazon-textract-parser-ruby.rb', line 368 def to_s s = "" @cells.each do |cell| s = s + "[#{cell}]" end return s end |