Add inline to str_with_class().
Merge pull request #2590 from cubicdaiya/issues/inline2

Add inline to str_with_class().
Merge branch 'master' into iij