class TaskJuggler::URLParameter

Public Class Methods

decode(data) click to toggle source
# File lib/taskjuggler/URLParameter.rb, line 23
def URLParameter.decode(data)
  Zlib::Inflate.inflate(data.unpack('m')[0])
end
encode(data) click to toggle source
# File lib/taskjuggler/URLParameter.rb, line 19
def URLParameter.encode(data)
  [Zlib::Deflate.deflate(data)].pack('m')
end