lib/sequel/extensions/meta_def.rb in sequel-4.13.0 vs lib/sequel/extensions/meta_def.rb in sequel-4.14.0
- old
+ new
@@ -3,9 +3,10 @@
# Database, Dataset, and Model classes and/or instances. It is
# not recommended for usage in new code. To load this extension:
#
# Sequel.extension :meta_def
+#
module Sequel
# Contains meta_def method for adding methods to objects via blocks.
# Only recommended for backwards compatibility with existing code.
module Metaprogramming
# Define a method with the given name and block body on the receiver.