class TaskJuggler::URLParameter

Public Class Methods

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