Sha256: 405b49e7f88de51d473a3ed01c3b5d61c496fac2e8bb56669083362cea7dc5b4
Contents?: true
Size: 517 Bytes
Versions: 22
Compression:
Stored size: 517 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module DataReaders class DataReader attr_reader :locale def initialize(locale) @locale = locale end def pattern_at_path(path) traverse(path) end private def traverse(path, hash = resource) TwitterCldr::Utils.traverse_hash(hash, path) end def resource raise NotImplementedError end end end end
Version data entries
22 entries across 22 versions & 2 rubygems