module Roda::RodaPlugins::Chunked::InstanceMethods

def view(*a)

called and chunking is not specifically disabled.
If chunking by default, call chunked if it hasn't yet been
def view(*a)
  if opts[:chunk_by_default] && !defined?(@_chunked) && !defined?(yield)
    chunked(*a)
  else
    super
  end
end