Method: Type.add
- Defined in:
- lib/carat-dev/interface_work/type.rb
.add(t) ⇒ Object
end
100 101 102 103 |
# File 'lib/carat-dev/interface_work/type.rb', line 100 def Type.add(t) raise TypeRepositoryError if !t.kind_of?(Type) @@repository[t.name] = t end |