Module: Conditionator

Defined in:
lib/conditionator.rb

Overview

Main module, including this module in your class will attach it the methods

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
# File 'lib/conditionator.rb', line 7

def self.included base
	base.send :include, ConditionatorHooks
	def base.new(*)
		super.tap(&:load_conditions)
	end
end