Module: Structish::Validations

Included in:
Array, Hash
Defined in:
lib/structish/validations.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
# File 'lib/structish/validations.rb', line 4

def self.included base
  base.send :include, InstanceMethods
  base.extend ClassMethods
end