Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/core_extensions/array.rb
Overview
Convenience extensions for core array
Instance Method Summary collapse
Instance Method Details
#to_m ⇒ Object
10 11 12 |
# File 'lib/core_extensions/array.rb', line 10 def to_m GSLng::Matrix.from_array self end |
#to_v ⇒ Object
6 7 8 |
# File 'lib/core_extensions/array.rb', line 6 def to_v GSLng::Vector.from_array self end |