Sha256: c17df9ca939b4ece1ae2a154bf3f6f9b50574257c539d07ee38efc335f23ae87
Contents?: true
Size: 625 Bytes
Versions: 5
Compression:
Stored size: 625 Bytes
Contents
module Alf module Algebra class Defaults include Operator include NonRelational include Unary signature do |s| s.argument :defaults, TupleComputation, {} s.option :strict, Boolean, false, "Restrict to default attributes only?" end def heading @heading ||= begin defh = defaults.to_heading strict ? defh : operand.heading.merge(defh) end end def keys @keys ||= operand.keys end private def _type_check(options) end end # class Defaults end # module Algebra end # module Alf
Version data entries
5 entries across 5 versions & 1 rubygems