Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/gettext/core_ext/string.rb

Overview

Extension for String class. This feature is included in Ruby 1.9 or later but not occur TypeError.

String#% method which accept “named argument”. The translator can know the meaning of the msgids using “named argument” instead of %s/%d style.