Module: NineteenNinetynine::Initializer

Included in:
NineteenNinetynine
Defined in:
lib/nineteen_ninetynine/initializer.rb

Instance Method Summary collapse

Instance Method Details

#init(&block) ⇒ Object



7
8
9
# File 'lib/nineteen_ninetynine/initializer.rb', line 7

def init(&block)
  inits << block
end

#initsObject



3
4
5
# File 'lib/nineteen_ninetynine/initializer.rb', line 3

def inits
  @inits ||= []
end