Method: Bmg::Sql::Expr#each_child
- Defined in:
- lib/bmg/sql/nodes/expr.rb
#each_child(skip = 0) ⇒ Object
60 61 62 63 64 65 |
# File 'lib/bmg/sql/nodes/expr.rb', line 60 def each_child(skip = 0) each_with_index do |c,i| next if i <= skip yield(c, i - 1) end end |