Module: PhcStringFormat::Validations

Included in:
PhcString
Defined in:
lib/phc_string_format/validations.rb

Overview

Provides a validation framework to your objects.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



6
7
8
# File 'lib/phc_string_format/validations.rb', line 6

def self.included(klass)
  klass.extend ClassMethods
end