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, StringType

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.included(clazz) ⇒ Object



115
116
117
118
# File 'lib/typed_fields.rb', line 115

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