Question
I read that Ruby has a language featured called "labels", how does that work?
Update:
I saw it at http://ruby.about.com/od/gems/qt/shorturl.htm where the author talks about a label at the bottom of the article with:
puts ShortURL.shorten('http://ruby.about.com', :lns)
OTHER TIPS
I've just consulted my "Pickaxe" book and there's no such feature. Could it go by another name?
The Rails framework has labels but these are just helpers for the HTML label tag.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow