Module: Sequel::Plugins::AfterInitialize::InstanceMethods

Defined in:
lib/sequel/plugins/after_initialize.rb

Instance Method Summary collapse

Instance Method Details

#after_initializeObject

An empty after_initialize hook, so that plugins that use this can always call super to get the default behavior.



34
35
# File 'lib/sequel/plugins/after_initialize.rb', line 34

def after_initialize
end

#initialize(h = {}) ⇒ Object

Call after_initialize for new model objects.



27
28
29
30
# File 'lib/sequel/plugins/after_initialize.rb', line 27

def initialize(h={})
  super
  after_initialize
end