Module: Bmg::Operator::Nary

Includes:
Bmg::Operator
Included in:
Union
Defined in:
lib/bmg/operator/shared/nary.rb

Instance Attribute Summary

Attributes included from Bmg::Operator

#type

Instance Method Summary collapse

Methods included from Bmg::Operator

#inspect, #to_s

Methods included from Relation

#_count, #count, #debug, #delete, empty, #empty?, #insert, new, #one, #one_or_nil, #to_ast, #to_csv, #to_json, #to_xlsx, #type, #update, #visit, #with_type, #with_type_attrlist, #with_typecheck, #without_typecheck, #y_by_x, #ys_by_x

Methods included from Algebra

#allbut, #autosummarize, #autowrap, #constants, #extend, #group, #image, #join, #left_join, #matching, #materialize, #not_matching, #page, #project, #rename, #restrict, #spied, #summarize, #transform, #ungroup, #union, #unspied, #unwrap

Methods included from Algebra::Shortcuts

#exclude, #image, #images, #join, #left_join, #matching, #not_matching, #prefix, #rxmatch, #suffix, #ungroup, #unwrap, #where

Instance Method Details

#bind(binding) ⇒ Object



6
7
8
# File 'lib/bmg/operator/shared/nary.rb', line 6

def bind(binding)
  _with_operands(operands.map{|op| op.bind(binding) })
end