Last active
August 29, 2015 14:18
-
-
Save PamBWillenz/9277c753f3f4bbc7dae0 to your computer and use it in GitHub Desktop.
Debugging Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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