Skip to content

Instantly share code, notes, and snippets.

@jakeboxer
Created December 4, 2012 10:15
Show Gist options
  • Select an option

  • Save jakeboxer/4202426 to your computer and use it in GitHub Desktop.

Select an option

Save jakeboxer/4202426 to your computer and use it in GitHub Desktop.
def read_full_blob(oid)
object = send_message(:read_full_blob, oid)
object['data'].force_encoding(object['encoding']) if encoding_support?
object
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment