Contains meta_def method for adding methods to objects via blocks, used by some of Sequel‘s classes and objects.
Define a method with the given name and block body on the receiver.
[Source]
# File lib/sequel/metaprogramming.rb, line 5 5: def meta_def(name, &block) 6: (class << self; self end).send(:define_method, name, &block) 7: end
[Validate]