README.md in elf_ham-0.2.0 vs README.md in elf_ham-1.0.0

- old
+ new

@@ -17,11 +17,11 @@ elf_ham.transform do |row| row["header3"] = "elfham" end # Print the result -puts elf_ham.output +puts elf_ham.result ``` ## Instructions 1. Install the gem: @@ -35,14 +35,20 @@ ```sh echo '#!/usr/bin/env ruby require "elf_ham" - puts ElfHam.new(ARGF.read).select do |row| + elf_ham = ElfHam.new(ARGF.read) + + elf_ham.select do |row| row["header2"] != "b" - end.transform do |row| + end + + elf_ham.transform do |row| row["header3"] = "elfham" - end.output' > transform.rb + end + + puts elf_ham.result' > transform.rb ``` 3. Make the script executable: ```sh