Method: HexaPDF::PDFArray#values_at
- Defined in:
- lib/hexapdf/pdf_array.rb
#values_at(*indices) ⇒ Object
Returns the values at the given indices.
See #[] for details
100 101 102 |
# File 'lib/hexapdf/pdf_array.rb', line 100 def values_at(*indices) indices.map! {|index| self[index] } end |