Class: Array
Overview
Array additions.
Instance Method Summary (collapse)
-
- (String) pack_as_pstring
Returns string into packed Pascal string.
Instance Method Details
- (String) pack_as_pstring
Returns string into packed Pascal string.
112 113 114 115 |
# File 'src/ruby/osx/objc/ruby_addition.rb', line 112 def pack_as_pstring len = self[0] self[1..-1].pack("C#{len}") end |