Module: Sequel::Dataset::QueryBlockCopy
- Defined in:
- lib/sequel_core/dataset/query.rb
Overview
Module used by Dataset#query that has the effect of making all dataset methods into !-style methods that modify the receiver.
Instance Method Summary collapse
-
#clone(opts = nil) ⇒ Object
Merge the given options into the receiver’s options and return the receiver instead of cloning the receiver.
Instance Method Details
#clone(opts = nil) ⇒ Object
Merge the given options into the receiver’s options and return the receiver instead of cloning the receiver.
35 36 37 38 |
# File 'lib/sequel_core/dataset/query.rb', line 35 def clone(opts = nil) @opts.merge!(opts) self end |