Skip to content

Instantly share code, notes, and snippets.

@PamBWillenz
Last active August 29, 2015 14:18
Show Gist options
  • Save PamBWillenz/9277c753f3f4bbc7dae0 to your computer and use it in GitHub Desktop.
Save PamBWillenz/9277c753f3f4bbc7dae0 to your computer and use it in GitHub Desktop.
Debugging Code
def hello(first, last)
"Hello #{first} #{last}"
end
p hello("Steve", "Jobs")
Output
"Hello Steve Jobs"
# describe "hello" do
# it "should return 'Hello first name last name'" do
# expect( hello("Steve", "Jobs") ).to eq("Hello Steve Jobs")
# end
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment