# File lib/cgikit/parser.rb, line 240 def create_subcomponent( klass, context ) element = context.component.next_subcomponent(context.context_id) unless element then element = klass.new(context) element.parent = root.component element.context_id = context.context_id end element.declaration_name = @ckid element.associations = associations(context) element end