Method: Atomy::Module#initialize

Defined in:
lib/atomy/module.rb

#initializeModule

Returns a new instance of Module.



20
21
22
23
24
25
26
27
28
29
# File 'lib/atomy/module.rb', line 20

def initialize
  extend self

  @exported_modules = []

  # easy accessor for the current module via LexicalScope lookup
  const_set(:Self, self)

  super
end