Method: XDry::OGlobal#<<

Defined in:
lib/xdry/parsing/model.rb

#<<(child) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/xdry/parsing/model.rb', line 18

def << child
  case child
  when SInterface
    lookup_class(child.class_name).add_interface child
  when SImplementation
    lookup_class(child.class_name).add_implementation child
  end
end