Module: TypedFields

Defined in:
lib/typed_fields.rb,
lib/typed_fields/version.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: ArrayType, BooleanType, DecimalType, IntegerType, ObjectType, ProcType, StringType, TypeInfo

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.included(clazz) ⇒ Object



152
153
154
155
# File 'lib/typed_fields.rb', line 152

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