Method: ActiveFacts::API::Value::ClassMethods#inherited

Defined in:
lib/activefacts/api/value.rb

#inherited(other) ⇒ Object

:nodoc:



142
143
144
145
146
147
148
# File 'lib/activefacts/api/value.rb', line 142

def inherited(other)  #:nodoc:
  # Copy the type parameters here, etc?
  other.send :realise_supertypes, self
  TypeInheritanceFactType.new(self, other)
  vocabulary.__add_object_type(other)
  super
end