Sha256: 245f3f359ad4e554a1cd3da48fde4068a56b80607a978a21a6172339a16187bf
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
module Alf class Compiler module Cog extend Forwardable def initialize(expr, compiler) @expr = expr @compiler = compiler end attr_reader :expr attr_reader :compiler def_delegators :expr, :connection, :heading, :keys def cog_orders [] end def orderedby?(order) cog_orders.any?{|o| order <= o } end def to_cog self end def to_ascii_tree Support::Tree.new(self).to_text end def to_relation Relation.coerce(each.to_set) end end # module Cog end # class Compiler end # module Alf
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | lib/alf/compiler/cog.rb |