Sha256: 49bf96ab68574d421941813390daa80e7702b445c2b167e0df28a32252e1e61c

Contents?: true

Size: 483 Bytes

Versions: 5

Compression:

Stored size: 483 Bytes

Contents

module Alf
  module Algebra
    class Generator
      include Operator
      include NonRelational
      include Nullary

      signature do |s|
        s.argument :size, Size, 10
        s.argument :as,   AttrName, :num
      end

      def heading
        @heading ||= Heading[as => Integer]
      end

      def keys
        @keys ||= Keys[ [as] ]
      end

    private

      def _type_check(options)
      end

    end # class Generator
  end # module Algebra
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-core-0.16.3 lib/alf/algebra/operator/generator.rb
alf-core-0.16.2 lib/alf/algebra/operator/generator.rb
alf-core-0.16.1 lib/alf/algebra/operator/generator.rb
alf-core-0.16.0 lib/alf/algebra/operator/generator.rb
alf-core-0.15.0 lib/alf/algebra/operator/generator.rb