Module: Ronin::AutoLoad

Included in:
Ronin
Defined in:
lib/ronin/auto_load.rb

Overview

When included into other namespaces, it allows for auto-loading Classes or Modules via ClassMethods#const_missing.

Since:

  • 1.1.0

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Since:

  • 1.1.0


30
31
32
33
# File 'lib/ronin/auto_load.rb', line 30

def self.included(base)
  base.send :include, OpenNamespace
  base.send :extend, ClassMethods
end