Sha256: 6c1989da123b7b1098687d0cc8e56f56d321193e92bf06f08643a5289d192115
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module TwitterCldr class LocalizedObject attr_reader :locale, :base_obj, :formatter def initialize(obj, locale) @base_obj = obj @locale = locale @formatter = self.formatter_const.new(:locale => @locale) if self.formatter_const end def formatter_const raise NotImplementedError end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter_cldr-1.0.0 | lib/ext/localized_object.rb |