Sha256: 494f1ca065207f27911024cf056b93b478580746f3a4014b1af69d299d9c544b

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# encoding: utf-8

require 'addressable/uri'

require 'set'
require 'concord'
require 'abstract_type'
require 'descendants_tracker'
require 'equalizer'
require 'axiom'
require 'axiom-optimizer'

# Main ROM module with methods to setup and manage the environment
module ROM

  # Raised when the returned tuples are unexpectedly empty
  NoTuplesError = Class.new(RuntimeError)

  # Raised when the returned tuples are unexpectedly too many
  ManyTuplesError = Class.new(RuntimeError)

  # Represent an undefined argument
  Undefined = Object.new.freeze

  # An empty frozen Hash useful for parameter default values
  EMPTY_HASH = {}.freeze

  # An empty frozen Array useful for parameter default values
  EMPTY_ARRAY = [].freeze

  # Represent a positive, infinitely large Float number
  Infinity  = 1.0 / 0

end # module ROM

require 'rom/support/axiom/adapter'

require 'rom/repository'
require 'rom/environment'
require 'rom/relation'

require 'rom/schema'
require 'rom/schema/definition'
require 'rom/schema/definition/relation'
require 'rom/schema/definition/relation/base'

require 'rom/mapping'
require 'rom/mapping/definition'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-relation-0.1.2 lib/rom-relation.rb