Class: String

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

Overview

Extensions to String.

Instance Method Summary collapse

Instance Method Details

#unpack1(format) ⇒ Object



21
22
23
# File 'lib/fmod/core/extensions.rb', line 21

def unpack1(format)
  unpack(format).first
end