Module: Erector::AfterInitialize

Included in:
AbstractWidget
Defined in:
lib/erector/after_initialize.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object


3
4
5
# File 'lib/erector/after_initialize.rb', line 3

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#initialize(*args, &blk) ⇒ Object


29
30
31
32
# File 'lib/erector/after_initialize.rb', line 29

def initialize(*args, &blk)
  super
  self.class.after_initialize self
end