Module: Styx::Initializer

Defined in:
lib/styx/initializer.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/styx/initializer.rb', line 3

def self.included base
  base.send(:include, InstanceMethods)
  base.class_eval do
    helper_method :styx_initialize, :styx_initialize_with
    before_filter { @styx_initialize_with = {} }
  end
end