Module: Sequel::Dataset::QueryBlockCopy
- Defined in:
- lib/sequel/extensions/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 = {}) ⇒ Object
Merge the given options into the receiver’s options and return the receiver instead of cloning the receiver.
Instance Method Details
#clone(opts = {}) ⇒ Object
Merge the given options into the receiver’s options and return the receiver instead of cloning the receiver.
52 53 54 55 |
# File 'lib/sequel/extensions/query.rb', line 52 def clone(opts = {}) @opts.merge!(opts) self end |