From 56a5105fde03f92744b8fbd15de9b4b298aecec5 Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Mon, 1 Jun 2020 19:45:43 -0400 Subject: [PATCH] Add usage instructions to Readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 25e9ed5..9798773 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,15 @@ Or install it yourself as: ## Usage -TODO: Write usage instructions here +```ruby +require 'php_serialization' + +# Convert a serialized string to a Ruby data structure +PhpSerialization.load(serialied_string) + +# Convert a Ruby data structure to a serialized string +PhpSerialization.dump(ruby_object) +``` ## Contributing