Sha256: 2d716201938d1e8ebcb7ebd1a6819a23cbe93c7f308797b790c89ac3f170e543

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

require 'date'

require 'egn/egn'
require 'egn/parser'
require 'egn/validator'
require 'egn/generator'
require 'egn/version'
require 'egn/util'

module Egn
  # Quick generate: returns a new number
  def self.generate(options = {})
    Generator.generate(options)
  end

  # Quick validate
  def self.validate(egn)
    Validator.validate(egn)
  end

  # Quick parse
  def self.parse(egn)
    Egn.new(egn)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
egn-1.3.4 lib/egn.rb
egn-1.3.3 lib/egn.rb