Method: Bmg::Operator::Project#insert

Defined in:
lib/bmg/operator/project.rb

#insert(arg) ⇒ Object



43
44
45
46
47
48
49
50
# File 'lib/bmg/operator/project.rb', line 43

def insert(arg)
  case arg
  when Hash       then operand.insert(valid_tuple!(arg))
  when Enumerable then operand.insert(arg.map{|t| valid_tuple!(t) })
  else
    super
  end
end