Sha256: 9f783387b947905b29093f63102a0c5aa469f0fbb347611f9e5824b72a344781
Contents?: true
Size: 433 Bytes
Versions: 1
Compression:
Stored size: 433 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 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.1.0 | lib/ext/localized_object.rb |