Sha256: 0565928c414774d157462897fd98f553e7b5eb2b92af3325f02b024f3d9ac7e9

Contents?: true

Size: 619 Bytes

Versions: 25

Compression:

Stored size: 619 Bytes

Contents

# main Phonelib module definition
module Phonelib
  # load phonelib classes/modules
  autoload :Core, 'phonelib/core'
  autoload :Phone, 'phonelib/phone'
  autoload :PhoneFormatter, 'phonelib/phone_formatter'
  autoload :PhoneAnalyzer, 'phonelib/phone_analyzer'
  autoload :PhoneAnalyzerHelper, 'phonelib/phone_analyzer_helper'
  autoload :PhoneExtendedData, 'phonelib/phone_extended_data'

  extend Core
end

if defined?(ActiveModel) || defined?(Rails)
  if RUBY_VERSION >= '3.0.0'
    autoload :PhoneValidator, 'validators/phone_validator3'
  else
    autoload :PhoneValidator, 'validators/phone_validator'
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
phonelib-0.6.52 lib/phonelib.rb
phonelib-0.6.51 lib/phonelib.rb
phonelib-0.6.50 lib/phonelib.rb
phonelib-0.6.49 lib/phonelib.rb
phonelib-0.6.48 lib/phonelib.rb