Stringのおもしろメソッド
おもしろというか、単に自分が知らなかっただけかもしれませんが。
'hoge'.big() // '<big>hoge</big>' 'hoge'.small() // '<small>hoge</small>' 'hoge'.bold() // '<b>hoge</b>' 'hoge'.italics() // '<i>hoge</i>' 'hoge'.blink() // '<blink>hoge</blink>' 'hoge'.strike() // '<strike>hoge</strike>' 'hoge'.sub() // '<sub>hoge</sub>' 'hoge'.sup() // '<sup>hoge</sup>' 'hoge'.link('url') // '<a href="url">hoge</a>' 'hoge'.anchor('anchor') // '<a name="anchor">hoge</a>'
使うことはたぶん・・・無い。