Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/madderlib/extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_byte_sObject

Composites the Array – of Fixnums (characters) – into a String. An exception will be raised if any value in the Array is not a Fixnum



37
38
39
# File 'lib/madderlib/extensions.rb', line 37

def to_byte_s
	self.collect {|c| c.chr }.join(nil)
end