Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/rcap/extensions/array.rb
Instance Method Summary (collapse)
-
- (String) to_s_for_cap
Formats an array into a string suitable for a CAP message.
Instance Method Details
- (String) to_s_for_cap
Formats an array into a string suitable for a CAP message.
8 9 10 |
# File 'lib/rcap/extensions/array.rb', line 8 def to_s_for_cap self.map{ |element| element.to_s.for_cap_list }.join( ' ' ) end |