From f8abb88ef9e0053e3535424d5b4a438d6085a3fc Mon Sep 17 00:00:00 2001 From: Tan Jay Jun Date: Thu, 12 Oct 2017 09:48:24 +0800 Subject: [PATCH] Improve example in README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9eaea9d..d5a0d75 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,14 @@ clipboard utilities on macOS, Linux and Windows but can be configured to call an ## Examples ```elixir -Clipboard.copy("Hello, World!") -"Hello, World!" +Clipboard.copy("Hello, World!") # Copied to clipboard -"Bye, World!" +"Hello, World!" |> Clipboard.copy() # Insert into pipelines -|> send_to_api() +|> business_as_usual() # And paste too! -Clipboard.paste() -"Bye, World!" +greeting = Clipboard.paste() ``` ## Options