Module: AmazonTRP
- Defined in:
- lib/amazon-textract-parser-ruby.rb,
lib/amazon-textract-parser-ruby/version.rb
Defined Under Namespace
Classes: BoundingBox, Cell, Document, Error, Field, FieldKey, FieldValue, Form, Geometry, Line, Page, Point, Row, SelectionElement, Table, Word
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.stable_sort_by(e) ⇒ Object
6 7 8 |
# File 'lib/amazon-textract-parser-ruby.rb', line 6 def AmazonTRP.stable_sort_by(e) e.sort_by.with_index { |x, idx| [yield(x), idx] } end |