Sha256: 9d278e04502372a55b1122a93a77f3e56d28e5db341c79335c4cbdbcdd7fdcaa

Contents?: true

Size: 414 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
egn-1.3.2 lib/egn.rb
egn-1.3.1 lib/egn.rb
egn-1.3.0 lib/egn.rb
egn-1.2.2 lib/egn.rb
egn-1.2.1 lib/egn.rb
egn-1.2.0 lib/egn.rb
egn-1.1.0 lib/egn.rb
egn-1.0.0 lib/egn.rb
egn-0.4.0 lib/egn.rb