Class: Module

Class | Module
In: | lib/sequel_core/core_ext.rb
Parent: | Object

Add some metaprogramming methods to avoid class << self

### Methods

class_def

### Public Instance methods

class_def(name, &block)

Defines an instance method within a class/module

[Source]

        # File lib/sequel_core/core_ext.rb, line 49
    49:   def class_def(name, &block)
    50:     class_eval{define_method(name, &block)}
    51:   end

[Validate]