Created
November 5, 2013 04:12
-
-
Save 9cardinals/7313745 to your computer and use it in GitHub Desktop.
method to call url and text
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 link(address, text) | |
"URL is at: <a href='#{address}'>, #{text}</a>" | |
end | |
p link("http://www.github.com/9cardinals/", "my github") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment