Sha256: 35822306f127698fe27d3466b275685bbb97fc1d2b26de9e27fd68bbc41c86f5
Contents?: true
Size: 574 Bytes
Versions: 37
Compression:
Stored size: 574 Bytes
Contents
#Iconv will not be defined, unless it is found -> normalize test results for users that have Iconv/those who do not have it begin;require 'iconv';rescue;LoadError;end initial = methods.count + Module.constants.count #FastGettext $LOAD_PATH.unshift File.join(File.dirname(__FILE__),'..','..','lib') require 'fast_gettext' FastGettext.locale = 'de' FastGettext.add_text_domain 'test', :path=>'spec/locale' FastGettext.text_domain = 'test' include FastGettext::Translation raise unless _('car')=='Auto' puts "FastGettext" puts methods.count + Module.constants.count - initial
Version data entries
37 entries across 37 versions & 2 rubygems