Module: Sequel::GraphEach

Defined in:
lib/sequel/extensions/graph_each.rb

Instance Method Summary collapse

Instance Method Details

#eachObject

Call graph_each for graphed datasets that are not being eager graphed.



22
23
24
25
26
27
28
# File 'lib/sequel/extensions/graph_each.rb', line 22

def each
  if @opts[:graph] && !@opts[:eager_graph]
    graph_each{|r| yield r}
  else
    super
  end
end