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.2"

Class Method Summary collapse

Class Method Details

.included(clazz) ⇒ Object



147
148
149
150
# File 'lib/typed_fields.rb', line 147

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