lib/parameters/class_methods.rb in parameters-0.2.0 vs lib/parameters/class_methods.rb in parameters-0.2.1
- old
+ new
@@ -2,9 +2,13 @@
require 'parameters/class_param'
require 'parameters/extensions/meta'
module Parameters
module ClassMethods
+ def included(base)
+ base.extend ClassMethods
+ end
+
#
# @return [Hash]
# Parameters for the class.
#
def params