Sha256: f016fca5281ca85da4b972f608efe942ec12b692a07735ad8de3ae9a6c83574c
Contents?: true
Size: 316 Bytes
Versions: 40
Compression:
Stored size: 316 Bytes
Contents
class NSString # This can be called as `"Hello".localized` or `"Hello"._`. The `str._` # syntax is meant to be reminiscent of gettext-style `_(str)`. def localized(value=nil, table=nil) @localized = NSBundle.mainBundle.localizedStringForKey(self, value:value, table:table) end alias _ localized end
Version data entries
40 entries across 40 versions & 1 rubygems