lib/amf/values/messages.rb in rack-amf-0.0.1 vs lib/amf/values/messages.rb in rack-amf-0.0.2
- old
+ new
@@ -9,14 +9,14 @@
attr_accessor :timestamp
attr_accessor :timeToLive
attr_accessor :headers
attr_accessor :body
+ protected
def rand_uuid
[8,4,4,4,12].map {|n| rand_hex_3(n)}.join('-').to_s
end
- private
def rand_hex_3(l)
"%0#{l}x" % rand(1 << l*4)
end
end
\ No newline at end of file