doc/extensions.rdoc in sequel-4.13.0 vs doc/extensions.rdoc in sequel-4.14.0
- old
+ new
@@ -77,8 +77,8 @@
The first argument is the name of the extension as a symbol, and the second is the module. When you call the <tt>Sequel::Dataset.register_extension</tt> method with a module, it in turn calls <tt>Sequel::Database.register_extension</tt> and adds a Database extension that loads this Dataset extension into all future Datasets created from the Database.
You can also call <tt>Sequel::Dataset.register_extension</tt> with a proc:
- Sequel::Dataset.register_extension(:extension_name){|ds| ...}
+ Sequel::Dataset.register_extension(:extension_name){|ds| }
Note that if you use a proc, a corresponding Database extension will not be created automatically (you can still call <tt>Sequel::Database.register_extension</tt> manually in this case).