Created
November 7, 2011 02:08
-
-
Save wrburgess/1344035 to your computer and use it in GitHub Desktop.
return copyright declaration with current year
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
# return copyright declaration with current year | |
def copyright | |
copyright = '© '.html_safe + Time.new.strftime('%Y') + ' [Company]. All Rights Reserved' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment