Module: Multitype

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

Defined Under Namespace

Modules: ClassMethods Classes: NoTypeCatError, NoTypeError, NoTypeSetError

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



11
12
13
# File 'lib/multitype.rb', line 11

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

Instance Method Details

#__get_multitype_cache__(*args) ⇒ Object

Forward this method to the class method



23
24
25
# File 'lib/multitype.rb', line 23

def __get_multitype_cache__(*args)
  self.class.__get_multitype_cache__(*args)
end