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.8.5 lib/phonelib.rb
phonelib-0.8.4 lib/phonelib.rb
phonelib-0.8.3 lib/phonelib.rb
phonelib-0.8.2 lib/phonelib.rb
phonelib-0.8.1 lib/phonelib.rb
phonelib-0.8.0 lib/phonelib.rb
phonelib-0.7.7 lib/phonelib.rb
phonelib-0.7.6 lib/phonelib.rb
phonelib-0.7.5 lib/phonelib.rb
phonelib-0.7.4 lib/phonelib.rb
phonelib-0.7.3 lib/phonelib.rb
phonelib-0.7.2 lib/phonelib.rb
phonelib-0.7.1 lib/phonelib.rb
phonelib-0.7.0 lib/phonelib.rb
phonelib-0.6.58 lib/phonelib.rb
phonelib-0.6.57 lib/phonelib.rb
phonelib-0.6.56 lib/phonelib.rb
phonelib-0.6.55 lib/phonelib.rb
phonelib-0.6.54 lib/phonelib.rb
phonelib-0.6.53 lib/phonelib.rb