06 Mar '14, 1pm

ERB - APIdock:

) returns a string in the same character encoding as the input string. When the input string has a magic comment, however, it returns a string in the encoding specified by the magic comment.

Full article: http://apidock.com/ruby/ERB

Tweets