Sha256: deb6c23e00fa05cf3e1ddfd5ca4ca67558eeaee89f7e6a4f59cebbd0543eb05c
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
require 'telephone_number/version' require 'utilities/hash' require 'forwardable' module TelephoneNumber autoload :DataImporter, 'telephone_number/data_importer' autoload :TestDataGenerator, 'telephone_number/test_data_generator' autoload :Parser, 'telephone_number/parser' autoload :Number, 'telephone_number/number' autoload :Formatter, 'telephone_number/formatter' autoload :PhoneData, 'telephone_number/phone_data' autoload :ClassMethods, 'telephone_number/class_methods' extend ClassMethods # allows users to override the default data @override_file = nil # allows users to provide a default format pattern @default_format_pattern = nil # allows users to provide a default format string @default_format_string = nil def self.override_file=(file_name) @override_file = file_name end def self.override_file @override_file end def self.default_format_string=(format_string) @default_format_string = format_string end def self.default_format_string @default_format_string end def self.default_format_pattern=(format_string) @default_format_pattern = Regexp.new(format_string) end def self.default_format_pattern @default_format_pattern end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
telephone_number-1.1.1 | lib/telephone_number.rb |