Sha256: 4d05fbefa6fc70a970fe4ec9dd3727d4390aa047fa7332a8224982cc243d224d
Contents?: true
Size: 841 Bytes
Versions: 1
Compression:
Stored size: 841 Bytes
Contents
# encoding: utf-8 module Axiom class Relation # A class that represents a base relation class Base < Relation include Equalizer.new(:header, :to_set, :name) # The base relation name # # @example # name = base.name # # @return [Symbol] # # @api public attr_reader :name # Initialize a base relation # # @param [#to_sym] name # the relation name # @param [Header, #to_ary] header # the relation header # @param [Enumerable] tuples # the relation tuples # # @return [undefined] # # @api private def initialize(name, header, tuples = Empty::ZERO_TUPLE) super(header, tuples) @name = name.to_sym end end # class Base end # class Relation end # module Axiom
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | lib/axiom/relation/base.rb |