Sha256: a8bc01d76ec68ba20bd47187673f1868845e80e1be4ca84d49ca4a096a4608da

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

# Copyrighter

Handy way to print out copyright dates, like in a footer.

Assuming it's 2012,

© 2012 will print "2012"

Next year it will automatically change to "2012 - 2013"

You can give it either an integer or a range of integers.

You can also provide an optional second argument, which is what will join the start and end of the range

© 1999, '-' => "1999-2012"
© 1999, ' - ' => "1999 - 2012"
© 1999, ':' => "1999:2012"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
copyrighter-0.0.1 README.md