Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/symphony/symphony.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#to_homogeneous(of_type) ⇒ Object
116 117 118 119 120 |
# File 'lib/symphony/symphony.rb', line 116 def to_homogeneous(of_type) harray = HomogeneousArray.new(of_type) self.each{ |item| harray << item } harray end |