module Sequel::Dataset::QueryBlockCopy

  1. lib/sequel/extensions/query.rb
Parent: Dataset

Module used by Dataset#query that has the effect of making all dataset methods into !-style methods that modify the receiver.

Methods

Public Instance

  1. clone

Public Instance methods

clone (opts = {})

Merge the given options into the receiver's options and return the receiver instead of cloning the receiver.

[show source]
# File lib/sequel/extensions/query.rb, line 52
def clone(opts = {})
  @opts.merge!(opts)
  self
end