Created
February 27, 2014 18:47
-
-
Save brycemcd/9256475 to your computer and use it in GitHub Desktop.
Read values from Rack::Cache's meta Disk store
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For future Bryce to Google and find... | |
# in irb session: | |
f = File.read("meta/7e/13c49c3d286767984ee2d801df056cb879d2a2"); nil # nil is here so it doesn't barf the contents of the file into the console | |
headers = Marhsal.load(f) | |
headers = headers[0] | |
headers.first # => hash of headers | |
headers.last # => hash of headers | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment