Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/svn_campfire_notifier/core_ext.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_chars(chars) ⇒ Object



12
13
14
# File 'lib/svn_campfire_notifier/core_ext.rb', line 12

def self.from_chars(chars)
  chars.pack('U*')
end

Instance Method Details

#charsObject



8
9
10
# File 'lib/svn_campfire_notifier/core_ext.rb', line 8

def chars
  unpack('U*')
end