summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 1e84ed5..45eb45e 100644
--- a/README.md
+++ b/README.md
@@ -14,11 +14,13 @@ serialize and de-serialize most Ruby objects to and from the YAML format.
## Examples
- # Load YAML in to a Ruby object
- Psych.load('--- foo') # => 'foo'
+```ruby
+# Load YAML in to a Ruby object
+Psych.load('--- foo') # => 'foo'
- # Emit YAML from a Ruby object
- Psych.dump("foo") # => "--- foo\n...\n"
+# Emit YAML from a Ruby object
+Psych.dump("foo") # => "--- foo\n...\n"
+```
## Dependencies